public enum LogStatus extends Enum<LogStatus>
Enum Constant and Description |
---|
END |
ERROR |
PAUSED |
RUNNING |
START |
STOP |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(LogStatus logStatus) |
static LogStatus |
findStatus(String status)
Find the LogStatus based on the string description of the status.
|
String |
getStatus() |
String |
toString() |
static LogStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogStatus START
public static final LogStatus END
public static final LogStatus STOP
public static final LogStatus ERROR
public static final LogStatus RUNNING
public static final LogStatus PAUSED
public static LogStatus[] values()
for (LogStatus c : LogStatus.values()) System.out.println(c);
public static LogStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getStatus()
public boolean equals(LogStatus logStatus)