Enum Class DeploymentStateResource
java.lang.Object
java.lang.Enum<DeploymentStateResource>
org.springframework.cloud.dataflow.rest.resource.DeploymentStateResource
- All Implemented Interfaces:
Serializable
,Comparable<DeploymentStateResource>
,Constable
Provides a typed enumeration of deployment statuses for Streams. Currently, this class
is used more as a helper class, and is not serialized via the REST API as of now, this
may change however with the next major release.
- Author:
- Gunnar Hillert
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeploymentStateResource
getKey()
static DeploymentStateResource
Returns the enum constant of this class with the specified name.static DeploymentStateResource[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEPLOYING
-
DEPLOYED
-
UNDEPLOYED
-
PARTIAL
-
FAILED
-
ERROR
-
UNKNOWN
-
-
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
-
fromKey
-
getKey
-
getDisplayName
-
getDescription
-