org.chorem.jtimer
Enum JTimerConfig.JTimerAction

java.lang.Object
  extended by java.lang.Enum<JTimerConfig.JTimerAction>
      extended by org.chorem.jtimer.JTimerConfig.JTimerAction
All Implemented Interfaces:
Serializable, Comparable<JTimerConfig.JTimerAction>
Enclosing class:
JTimerConfig

protected static enum JTimerConfig.JTimerAction
extends Enum<JTimerConfig.JTimerAction>


Enum Constant Summary
HELP
           
START
           
VERSION
           
 
Field Summary
protected  String action
           
protected  String[] aliases
           
protected  String description
           
 
Method Summary
static JTimerConfig.JTimerAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JTimerConfig.JTimerAction[] 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 JTimerConfig.JTimerAction HELP

VERSION

public static final JTimerConfig.JTimerAction VERSION

START

public static final JTimerConfig.JTimerAction START
Field Detail

description

protected String description

action

protected String action

aliases

protected String[] aliases
Method Detail

values

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

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

valueOf

public static JTimerConfig.JTimerAction 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 © 2007-2012 CodeLutin. All Rights Reserved.