Package org.gridgain.internal.ml.storage
Enum Class ModelSource.ModelSourceStatus
java.lang.Object
java.lang.Enum<ModelSource.ModelSourceStatus>
org.gridgain.internal.ml.storage.ModelSource.ModelSourceStatus
- All Implemented Interfaces:
Serializable,Comparable<ModelSource.ModelSourceStatus>,Constable
- Enclosing interface:
- ModelSource
Enum representing the possible statuses of a model source.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe model is available and ready for use.The model has been marked for deletion.The model is in the process of being downloaded.There was an error accessing or downloading the model.The model has been registered but not yet downloaded or validated. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ModelSource.ModelSourceStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REGISTERED
The model has been registered but not yet downloaded or validated. -
DOWNLOADING
The model is in the process of being downloaded. -
AVAILABLE
The model is available and ready for use. -
FAILED
There was an error accessing or downloading the model. -
DELETED
The model has been marked for deletion.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-