org.osm2world.console
Enum CLIArgumentsUtil.ProgramMode

Object
  extended by Enum<CLIArgumentsUtil.ProgramMode>
      extended by CLIArgumentsUtil.ProgramMode
All Implemented Interfaces:
Serializable, Comparable<CLIArgumentsUtil.ProgramMode>
Enclosing class:
CLIArgumentsUtil

public static enum CLIArgumentsUtil.ProgramMode
extends Enum<CLIArgumentsUtil.ProgramMode>


Enum Constant Summary
CONVERT
           
GUI
           
HELP
           
PARAMFILE
           
VERSION
           
 
Method Summary
static CLIArgumentsUtil.ProgramMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CLIArgumentsUtil.ProgramMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GUI

public static final CLIArgumentsUtil.ProgramMode GUI

CONVERT

public static final CLIArgumentsUtil.ProgramMode CONVERT

HELP

public static final CLIArgumentsUtil.ProgramMode HELP

VERSION

public static final CLIArgumentsUtil.ProgramMode VERSION

PARAMFILE

public static final CLIArgumentsUtil.ProgramMode PARAMFILE
Method Detail

values

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

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

valueOf

public static CLIArgumentsUtil.ProgramMode 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