Enum AgencyExportHandler.JobState
- java.lang.Object
-
- java.lang.Enum<AgencyExportHandler.JobState>
-
- com.openindex.openestate.tool.agency.AgencyExportHandler.JobState
-
- All Implemented Interfaces:
Translatable
,Serializable
,Comparable<AgencyExportHandler.JobState>
- Enclosing class:
- AgencyExportHandler
public static enum AgencyExportHandler.JobState extends Enum<AgencyExportHandler.JobState> implements Translatable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINISHED
FINISHING
FINISHING_ERROR
LOCKED
PREPARATION_CANCELLED
PREPARATION_ERROR
PREPARATION_PENDING
PREPARATION_RUNNING
TRANSPORT_CANCELLED
TRANSPORT_ERROR
TRANSPORT_PENDING
TRANSPORT_RUNNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTranslation()
String
getTranslation(Locale locale)
static AgencyExportHandler.JobState
valueOf(String name)
Returns the enum constant of this type with the specified name.static AgencyExportHandler.JobState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARATION_PENDING
public static final AgencyExportHandler.JobState PREPARATION_PENDING
-
PREPARATION_RUNNING
public static final AgencyExportHandler.JobState PREPARATION_RUNNING
-
PREPARATION_ERROR
public static final AgencyExportHandler.JobState PREPARATION_ERROR
-
PREPARATION_CANCELLED
public static final AgencyExportHandler.JobState PREPARATION_CANCELLED
-
TRANSPORT_PENDING
public static final AgencyExportHandler.JobState TRANSPORT_PENDING
-
TRANSPORT_RUNNING
public static final AgencyExportHandler.JobState TRANSPORT_RUNNING
-
TRANSPORT_ERROR
public static final AgencyExportHandler.JobState TRANSPORT_ERROR
-
TRANSPORT_CANCELLED
public static final AgencyExportHandler.JobState TRANSPORT_CANCELLED
-
FINISHING
public static final AgencyExportHandler.JobState FINISHING
-
FINISHING_ERROR
public static final AgencyExportHandler.JobState FINISHING_ERROR
-
FINISHED
public static final AgencyExportHandler.JobState FINISHED
-
LOCKED
public static final AgencyExportHandler.JobState LOCKED
-
-
Method Detail
-
values
public static AgencyExportHandler.JobState[] 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 (AgencyExportHandler.JobState c : AgencyExportHandler.JobState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgencyExportHandler.JobState 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
-
getTranslation
public String getTranslation()
- Specified by:
getTranslation
in interfaceTranslatable
-
getTranslation
public String getTranslation(Locale locale)
- Specified by:
getTranslation
in interfaceTranslatable
-
-