Package com.dtolabs.rundeck.core.logging
Enum LogFileState
- java.lang.Object
-
- java.lang.Enum<LogFileState>
-
- com.dtolabs.rundeck.core.logging.LogFileState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LogFileState>
public enum LogFileState extends java.lang.Enum<LogFileState>
Represents the state of a log file
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLE
AvailableAVAILABLE_PARTIAL
Partially AvailableERROR
Error determining stateNOT_FOUND
Not found at allPENDING
In process of being transferred to local storage
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LogFileState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogFileState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_FOUND
public static final LogFileState NOT_FOUND
Not found at all
-
AVAILABLE
public static final LogFileState AVAILABLE
Available
-
AVAILABLE_PARTIAL
public static final LogFileState AVAILABLE_PARTIAL
Partially Available
-
PENDING
public static final LogFileState PENDING
In process of being transferred to local storage
-
ERROR
public static final LogFileState ERROR
Error determining state
-
-
Method Detail
-
values
public static LogFileState[] 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 (LogFileState c : LogFileState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogFileState valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-