Package jslx.dbutilities.dbutil
Enum DbCreateTask.State
- java.lang.Object
-
- java.lang.Enum<DbCreateTask.State>
-
- jslx.dbutilities.dbutil.DbCreateTask.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DbCreateTask.State>
- Enclosing class:
- DbCreateTask
public static enum DbCreateTask.State extends java.lang.Enum<DbCreateTask.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTED
EXECUTION_ERROR
NO_TABLES_ERROR
UN_EXECUTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DbCreateTask.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DbCreateTask.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UN_EXECUTED
public static final DbCreateTask.State UN_EXECUTED
-
EXECUTED
public static final DbCreateTask.State EXECUTED
-
EXECUTION_ERROR
public static final DbCreateTask.State EXECUTION_ERROR
-
NO_TABLES_ERROR
public static final DbCreateTask.State NO_TABLES_ERROR
-
-
Method Detail
-
values
public static DbCreateTask.State[] 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 (DbCreateTask.State c : DbCreateTask.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbCreateTask.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-