Enum ServerReportStatus
- java.lang.Object
-
- java.lang.Enum<ServerReportStatus>
-
- com.chutneytesting.server.core.domain.execution.report.ServerReportStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ServerReportStatus>
public enum ServerReportStatus extends Enum<ServerReportStatus>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServerReportStatus.HavingStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFinal()static ServerReportStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ServerReportStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.static ServerReportStatusworst(Iterable<ServerReportStatus> severalStatus)
-
-
-
Enum Constant Detail
-
SUCCESS
public static final ServerReportStatus SUCCESS
-
WARN
public static final ServerReportStatus WARN
-
FAILURE
public static final ServerReportStatus FAILURE
-
NOT_EXECUTED
public static final ServerReportStatus NOT_EXECUTED
-
STOPPED
public static final ServerReportStatus STOPPED
-
PAUSED
public static final ServerReportStatus PAUSED
-
RUNNING
public static final ServerReportStatus RUNNING
-
EXECUTED
public static final ServerReportStatus EXECUTED
-
-
Method Detail
-
values
public static ServerReportStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServerReportStatus c : ServerReportStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerReportStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
worst
public static ServerReportStatus worst(Iterable<ServerReportStatus> severalStatus)
-
isFinal
public boolean isFinal()
-
-