public enum TrainingStatus extends Enum<TrainingStatus>
Enum Constant and Description |
---|
FAILED
Enum value failed.
|
PARTIALLY_SUCCEEDED
Enum value partiallySucceeded.
|
SUCCEEDED
Enum value succeeded.
|
Modifier and Type | Method and Description |
---|---|
static TrainingStatus |
fromString(String value)
Parses a serialized value to a TrainingStatus instance.
|
String |
toString()
The string representation of the enum value.
|
static TrainingStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrainingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrainingStatus SUCCEEDED
public static final TrainingStatus PARTIALLY_SUCCEEDED
public static final TrainingStatus FAILED
public static TrainingStatus[] values()
public static TrainingStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TrainingStatus fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<TrainingStatus>
Copyright © 2021. All rights reserved.