org.chorem.lima
Enum LimaConfig.Action

java.lang.Object
  extended by java.lang.Enum<LimaConfig.Action>
      extended by org.chorem.lima.LimaConfig.Action
All Implemented Interfaces:
Serializable, Comparable<LimaConfig.Action>
Enclosing class:
LimaConfig

public static enum LimaConfig.Action
extends Enum<LimaConfig.Action>

Lima action definition.


Enum Constant Summary
HELP
           
 
Field Summary
 String action
           
static int AFTER_INIT_STEP
          After init action step.
 String[] aliases
           
static int BEFORE_EXIT_STEP
          Before init action step.
 String description
           
 
Method Summary
static LimaConfig.Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LimaConfig.Action[] 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

HELP

public static final LimaConfig.Action HELP
Field Detail

BEFORE_EXIT_STEP

public static final int BEFORE_EXIT_STEP
Before init action step.

See Also:
Constant Field Values

AFTER_INIT_STEP

public static final int AFTER_INIT_STEP
After init action step.

See Also:
Constant Field Values

description

public String description

action

public String action

aliases

public String[] aliases
Method Detail

values

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

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

valueOf

public static LimaConfig.Action 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 name
NullPointerException - if the argument is null


Copyright © 2008-2011 CodeLutin. All Rights Reserved.