com.myjeeva.digitalocean.common
Enum Action
java.lang.Object
java.lang.Enum<Action>
com.myjeeva.digitalocean.common.Action
- All Implemented Interfaces:
- Serializable, Comparable<Action>
public enum Action
- extends Enum<Action>
Enumeration of DigitalOcean API and its map path and element name
- Author:
- Jeevanandam (jeeva@myjeeva.com)
AVAILABLE_DROPLETS
public static final Action AVAILABLE_DROPLETS
CREATE_DROPLET
public static final Action CREATE_DROPLET
GET_DROPLET_INFO
public static final Action GET_DROPLET_INFO
REBOOT_DROPLET
public static final Action REBOOT_DROPLET
POWER_CYCLE_DROPLET
public static final Action POWER_CYCLE_DROPLET
SHUTDOWN_DROPLET
public static final Action SHUTDOWN_DROPLET
POWER_OFF_DROPLET
public static final Action POWER_OFF_DROPLET
POWER_ON_DROPLET
public static final Action POWER_ON_DROPLET
RESET_PASSWORD_DROPLET
public static final Action RESET_PASSWORD_DROPLET
RESIZE_DROPLET
public static final Action RESIZE_DROPLET
TAKE_DROPLET_SNAPSHOT
public static final Action TAKE_DROPLET_SNAPSHOT
RESTORE_DROPLET
public static final Action RESTORE_DROPLET
REBUILD_DROPLET
public static final Action REBUILD_DROPLET
ENABLE_AUTOMATIC_BACKUPS
public static final Action ENABLE_AUTOMATIC_BACKUPS
DISABLE_AUTOMATIC_BACKUPS
public static final Action DISABLE_AUTOMATIC_BACKUPS
RENAME_DROPLET
public static final Action RENAME_DROPLET
DELETE_DROPLET
public static final Action DELETE_DROPLET
AVAILABLE_REGIONS
public static final Action AVAILABLE_REGIONS
AVAILABLE_IMAGES
public static final Action AVAILABLE_IMAGES
GET_IMAGE_INFO
public static final Action GET_IMAGE_INFO
DELETE_IMAGE
public static final Action DELETE_IMAGE
TRANSFER_IMAGE
public static final Action TRANSFER_IMAGE
AVAILABLE_SSH_KEYS
public static final Action AVAILABLE_SSH_KEYS
CREATE_SSH_KEY
public static final Action CREATE_SSH_KEY
GET_SSH_KEY
public static final Action GET_SSH_KEY
EDIT_SSH_KEY
public static final Action EDIT_SSH_KEY
DELETE_SSH_KEY
public static final Action DELETE_SSH_KEY
AVAILABLE_SIZES
public static final Action AVAILABLE_SIZES
AVAILABLE_DOMAINS
public static final Action AVAILABLE_DOMAINS
CREATE_DOMAIN
public static final Action CREATE_DOMAIN
GET_DOMAIN_INFO
public static final Action GET_DOMAIN_INFO
DELETE_DOMAIN
public static final Action DELETE_DOMAIN
GET_DOMAIN_RECORDS
public static final Action GET_DOMAIN_RECORDS
CREATE_DOMAIN_RECORD
public static final Action CREATE_DOMAIN_RECORD
GET_DOMAIN_RECORD_INFO
public static final Action GET_DOMAIN_RECORD_INFO
EDIT_DOMAIN_RECORD
public static final Action EDIT_DOMAIN_RECORD
DELETE_DOMAIN_RECORD
public static final Action DELETE_DOMAIN_RECORD
GET_EVENT_PROGRESS
public static final Action GET_EVENT_PROGRESS
values
public static Action[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Action c : Action.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Action valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
getMapPath
public String getMapPath()
- Returns:
- the mapPath
getElementName
public String getElementName()
- Returns:
- the elementName