Package com.qtsurfer.api.client.model
Enum Class StrategyState.ValidationEnum
java.lang.Object
java.lang.Enum<StrategyState.ValidationEnum>
com.qtsurfer.api.client.model.StrategyState.ValidationEnum
- All Implemented Interfaces:
Serializable,Comparable<StrategyState.ValidationEnum>,Constable
- Enclosing class:
- StrategyState
* `not_validated` — registered, never checked. `POST /strategy/{strategyId}/validate` checks it. * `pending` — a check was asked for and has not answered yet. * `passed` — the class loaded and survived its first event. * `failed` — it did not; `detail` says how.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic StrategyState.ValidationEnumgetValue()toString()static StrategyState.ValidationEnumReturns the enum constant of this class with the specified name.static StrategyState.ValidationEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_VALIDATED
-
PENDING
-
PASSED
-
FAILED
-
-
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
-
getValue
-
toString
- Overrides:
toStringin classEnum<StrategyState.ValidationEnum>
-
fromValue
-