Brooklyn

brooklyn.entity.basic
[Java] Enum Lifecycle

java.lang.Object
  brooklyn.entity.basic.Lifecycle

public enum Lifecycle

An enumeration representing the status of an Entity.

startuml:
img/entity-lifecycle.png title Entity Lifecycle (*) -> "CREATED" if "Exception" then -> "ON_FIRE" else --> "STARTING" --> "RUNNING" -> "STOPPING" --> "STOPPED" --> "RUNNING" --> "DESTROYED" -left-> (*)
enduml:


Method Summary
static Lifecycle fromValue(java.lang.String v)

Creates a Lifecycle from a text representation.

java.lang.String toString()

@see #value()

java.lang.String value()

An enumeration representing the status of an Entity.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

fromValue

public static Lifecycle fromValue(java.lang.String v)
Creates a Lifecycle from a text representation. This accepts the text representations output by the value() method for each entry.
See Also:
value()


toString

@Override
public java.lang.String toString()
See Also:
value()


value

public java.lang.String value()
An enumeration representing the status of an Entity.
startuml:
img/entity-lifecycle.png title Entity Lifecycle (*) -> "CREATED" if "Exception" then -> "ON_FIRE" else --> "STARTING" --> "RUNNING" -> "STOPPING" --> "STOPPED" --> "RUNNING" --> "DESTROYED" -left-> (*)
enduml:


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.