com.dtolabs.rundeck.core.cli.jobs
Enum JobsTool.Actions

java.lang.Object
  extended by java.lang.Enum<JobsTool.Actions>
      extended by com.dtolabs.rundeck.core.cli.jobs.JobsTool.Actions
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JobsTool.Actions>
Enclosing class:
JobsTool

public static enum JobsTool.Actions
extends java.lang.Enum<JobsTool.Actions>

Enumeration of available actions


Enum Constant Summary
list
          List action
load
          load action
purge
          load action
 
Method Summary
 java.lang.String getName()
          Return the name
static JobsTool.Actions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JobsTool.Actions[] 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

list

public static final JobsTool.Actions list
List action


load

public static final JobsTool.Actions load
load action


purge

public static final JobsTool.Actions purge
load action

Method Detail

values

public static JobsTool.Actions[] 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 (JobsTool.Actions c : JobsTool.Actions.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JobsTool.Actions 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

getName

public java.lang.String getName()
Return the name

Returns:
name