Package lumis.portal.progress
Enum ProgressConfig.Type
- java.lang.Object
-
- java.lang.Enum<ProgressConfig.Type>
-
- lumis.portal.progress.ProgressConfig.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ProgressConfig.Type>
- Enclosing class:
- ProgressConfig
public static enum ProgressConfig.Type extends Enum<ProgressConfig.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
toInt()
static ProgressConfig.Type
valueOf(int value)
Returns the enum constant of this type with the specified name.static ProgressConfig.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProgressConfig.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STEP
public static final ProgressConfig.Type STEP
-
ERROR
public static final ProgressConfig.Type ERROR
-
WARNING
public static final ProgressConfig.Type WARNING
-
INFO
public static final ProgressConfig.Type INFO
-
ABORT
public static final ProgressConfig.Type ABORT
-
CANCELLED
public static final ProgressConfig.Type CANCELLED
-
BEGIN
public static final ProgressConfig.Type BEGIN
-
END_OK
public static final ProgressConfig.Type END_OK
-
END_ERROR
public static final ProgressConfig.Type END_ERROR
-
SCRIPT
public static final ProgressConfig.Type SCRIPT
-
-
Method Detail
-
values
public static ProgressConfig.Type[] 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 (ProgressConfig.Type c : ProgressConfig.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProgressConfig.Type 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 nameNullPointerException
- if the argument is null
-
toInt
public int toInt()
-
valueOf
public static ProgressConfig.Type valueOf(int value)
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:
value
- 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 nameNullPointerException
- if the argument is null
-
-