DigitalOcean API Client in Java

com.myjeeva.digitalocean.common
Enum Action

java.lang.Object
  extended by java.lang.Enum<Action>
      extended by 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 ([email protected])

Enum Constant Summary
AVAILABLE_DOMAINS
           
AVAILABLE_DROPLETS
           
AVAILABLE_IMAGES
           
AVAILABLE_REGIONS
           
AVAILABLE_SIZES
           
AVAILABLE_SSH_KEYS
           
CREATE_DOMAIN
           
CREATE_DOMAIN_RECORD
           
CREATE_DROPLET
           
CREATE_SSH_KEY
           
DELETE_DOMAIN
           
DELETE_DOMAIN_RECORD
           
DELETE_DROPLET
           
DELETE_IMAGE
           
DELETE_SSH_KEY
           
DISABLE_AUTOMATIC_BACKUPS
           
EDIT_DOMAIN_RECORD
           
EDIT_SSH_KEY
           
ENABLE_AUTOMATIC_BACKUPS
           
GET_DOMAIN_INFO
           
GET_DOMAIN_RECORD_INFO
           
GET_DOMAIN_RECORDS
           
GET_DROPLET_INFO
           
GET_IMAGE_INFO
           
GET_SSH_KEY
           
POWER_CYCLE_DROPLET
           
POWER_OFF_DROPLET
           
POWER_ON_DROPLET
           
REBOOT_DROPLET
           
REBUILD_DROPLET
           
RENAME_DROPLET
           
RESET_PASSWORD_DROPLET
           
RESIZE_DROPLET
           
RESTORE_DROPLET
           
SHUTDOWN_DROPLET
           
TAKE_DROPLET_SNAPSHOT
           
TRANSFER_IMAGE
           
 
Method Summary
 String getElementName()
           
 String getMapPath()
           
static Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Action[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

DigitalOcean API Client in Java

Copyright © 2013 myjeeva blog, All rights reserved.

The copyright of the pages and contents on this website is with myjeeva.com and the content is licensed under Creative Commons Attribution-Share Alike 3.0 Unported License. Libraries and code snippets on myjeeva blog has license information.