public enum BaselineMode extends java.lang.Enum<BaselineMode>
Enum Constant and Description |
---|
disable
Disable baseline validation.
|
fail
Fail the build if there are any discrepancy between build and baseline artifacts.
|
failCommon
Fail the build if there are discrepancies between artifacts present both in build and
baseline.
|
warn
Warn about discrepancies between build and baseline artifacts but do not fail the build.
|
Modifier and Type | Method and Description |
---|---|
static BaselineMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaselineMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaselineMode disable
public static final BaselineMode warn
public static final BaselineMode failCommon
public static final BaselineMode fail
public static BaselineMode[] values()
for (BaselineMode c : BaselineMode.values()) System.out.println(c);
public static BaselineMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null