public static enum ReportEntry.PublishCondition extends java.lang.Enum<ReportEntry.PublishCondition>
Enum Constant and Description |
---|
ALWAYS
Publish report entry after test run, regardless of its outcome
(this is the default value)
|
ON_ABORTED
Publish report entry after test was aborted
|
ON_FAILURE
Publish report entry after failed test run
|
ON_SUCCESS
Publish report entry after successful test run
|
Modifier and Type | Method and Description |
---|---|
static ReportEntry.PublishCondition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportEntry.PublishCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportEntry.PublishCondition ALWAYS
public static final ReportEntry.PublishCondition ON_SUCCESS
public static final ReportEntry.PublishCondition ON_FAILURE
public static final ReportEntry.PublishCondition ON_ABORTED
public static ReportEntry.PublishCondition[] values()
for (ReportEntry.PublishCondition c : ReportEntry.PublishCondition.values()) System.out.println(c);
public static ReportEntry.PublishCondition 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