public enum CommandLineOptionDataType extends java.lang.Enum<CommandLineOptionDataType> implements PersistentName
Enum Constant and Description |
---|
BATCH_FLAG |
FLAG |
FLOAT_OPTION |
HELP_FLAG |
INT_OPTION |
STRING_OPTION |
VERSION_FLAG |
Modifier and Type | Method and Description |
---|---|
static CommandLineOptionDataType |
fromPersistentName(java.lang.String name) |
java.lang.String |
getPersistentName()
Returns the String value to be stored in the database or file.
|
static CommandLineOptionDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineOptionDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineOptionDataType HELP_FLAG
public static final CommandLineOptionDataType BATCH_FLAG
public static final CommandLineOptionDataType VERSION_FLAG
public static final CommandLineOptionDataType FLAG
public static final CommandLineOptionDataType STRING_OPTION
public static final CommandLineOptionDataType INT_OPTION
public static final CommandLineOptionDataType FLOAT_OPTION
public static CommandLineOptionDataType[] values()
for (CommandLineOptionDataType c : CommandLineOptionDataType.values()) System.out.println(c);
public static CommandLineOptionDataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPersistentName()
PersistentName
getPersistentName
in interface PersistentName
public static CommandLineOptionDataType fromPersistentName(java.lang.String name)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.