Enum Class DropletStatus

java.lang.Object
java.lang.Enum<DropletStatus>
com.myjeeva.digitalocean.common.DropletStatus
All Implemented Interfaces:
Serializable, Comparable<DropletStatus>, Constable

public enum DropletStatus extends Enum<DropletStatus>
Enumeration of DigitalOcean droplet states.
Since:
v1.5
Author:
Robert Gründler (robert@dubture.com), Jeevanandam M. (jeeva@myjeeva.com)
  • Enum Constant Details

    • NEW

      @SerializedName("new") public static final DropletStatus NEW
    • ACTIVE

      @SerializedName("active") public static final DropletStatus ACTIVE
    • OFF

      @SerializedName("off") public static final DropletStatus OFF
    • ARCHIVE

      @SerializedName("archive") public static final DropletStatus ARCHIVE
  • Method Details

    • values

      public static DropletStatus[] 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

      public static DropletStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DropletStatus>
    • fromValue

      public static DropletStatus fromValue(String value)