Package com.acumenvelocity.ath.model
Enum TrainingJobStatus
- java.lang.Object
-
- java.lang.Enum<TrainingJobStatus>
-
- com.acumenvelocity.ath.model.TrainingJobStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TrainingJobStatus>
public enum TrainingJobStatus extends Enum<TrainingJobStatus>
Current status of the training job.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCOMPLETEDFAILEDIMPORTING_DATAPREPARING_DATASETSCANNING_BUCKETSTRAINING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrainingJobStatusfromValue(String text)StringtoString()static TrainingJobStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TrainingJobStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCANNING_BUCKETS
public static final TrainingJobStatus SCANNING_BUCKETS
-
PREPARING_DATASET
public static final TrainingJobStatus PREPARING_DATASET
-
IMPORTING_DATA
public static final TrainingJobStatus IMPORTING_DATA
-
TRAINING
public static final TrainingJobStatus TRAINING
-
COMPLETED
public static final TrainingJobStatus COMPLETED
-
FAILED
public static final TrainingJobStatus FAILED
-
CANCELLED
public static final TrainingJobStatus CANCELLED
-
-
Method Detail
-
values
public static TrainingJobStatus[] 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 (TrainingJobStatus c : TrainingJobStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrainingJobStatus 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<TrainingJobStatus>
-
fromValue
public static TrainingJobStatus fromValue(String text)
-
-