com.dtolabs.rundeck.core.logging
Enum LogFileState

java.lang.Object
  extended by java.lang.Enum<LogFileState>
      extended by 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
AVAILABLE
          Available
ERROR
          Error determining state
NOT_FOUND
          Not found at all
PENDING
          In process of being transferred to local storage
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_FOUND

public static final LogFileState NOT_FOUND
Not found at all


AVAILABLE

public static final LogFileState AVAILABLE
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 name
java.lang.NullPointerException - if the argument is null