DigitalOcean API Client in Java

com.myjeeva.digitalocean.common
Enum DoAction

java.lang.Object
  extended by java.lang.Enum<DoAction>
      extended by com.myjeeva.digitalocean.common.DoAction
All Implemented Interfaces:
Serializable, Comparable<DoAction>

public enum DoAction
extends Enum<DoAction>

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
           
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 DoAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DoAction[] 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 DoAction AVAILABLE_DROPLETS

CREATE_DROPLET

public static final DoAction CREATE_DROPLET

GET_DROPLET_INFO

public static final DoAction GET_DROPLET_INFO

REBOOT_DROPLET

public static final DoAction REBOOT_DROPLET

POWER_CYCLE_DROPLET

public static final DoAction POWER_CYCLE_DROPLET

SHUTDOWN_DROPLET

public static final DoAction SHUTDOWN_DROPLET

POWER_OFF_DROPLET

public static final DoAction POWER_OFF_DROPLET

POWER_ON_DROPLET

public static final DoAction POWER_ON_DROPLET

RESET_PASSWORD_DROPLET

public static final DoAction RESET_PASSWORD_DROPLET

RESIZE_DROPLET

public static final DoAction RESIZE_DROPLET

TAKE_DROPLET_SNAPSHOT

public static final DoAction TAKE_DROPLET_SNAPSHOT

RESTORE_DROPLET

public static final DoAction RESTORE_DROPLET

REBUILD_DROPLET

public static final DoAction REBUILD_DROPLET

ENABLE_AUTOMATIC_BACKUPS

public static final DoAction ENABLE_AUTOMATIC_BACKUPS

DISABLE_AUTOMATIC_BACKUPS

public static final DoAction DISABLE_AUTOMATIC_BACKUPS

RENAME_DROPLET

public static final DoAction RENAME_DROPLET

DELETE_DROPLET

public static final DoAction DELETE_DROPLET

AVAILABLE_REGIONS

public static final DoAction AVAILABLE_REGIONS

AVAILABLE_IMAGES

public static final DoAction AVAILABLE_IMAGES

GET_IMAGE_INFO

public static final DoAction GET_IMAGE_INFO

DELETE_IMAGE

public static final DoAction DELETE_IMAGE

TRANSFER_IMAGE

public static final DoAction TRANSFER_IMAGE

AVAILABLE_SSH_KEYS

public static final DoAction AVAILABLE_SSH_KEYS

CREATE_SSH_KEY

public static final DoAction CREATE_SSH_KEY

GET_SSH_KEY

public static final DoAction GET_SSH_KEY

EDIT_SSH_KEY

public static final DoAction EDIT_SSH_KEY

DELETE_SSH_KEY

public static final DoAction DELETE_SSH_KEY

AVAILABLE_SIZES

public static final DoAction AVAILABLE_SIZES

AVAILABLE_DOMAINS

public static final DoAction AVAILABLE_DOMAINS

CREATE_DOMAIN

public static final DoAction CREATE_DOMAIN

GET_DOMAIN

public static final DoAction GET_DOMAIN

DELETE_DOMAIN

public static final DoAction DELETE_DOMAIN

GET_DOMAIN_RECORDS

public static final DoAction GET_DOMAIN_RECORDS

CREATE_DOMAIN_RECORD

public static final DoAction CREATE_DOMAIN_RECORD

GET_DOMAIN_RECORD_INFO

public static final DoAction GET_DOMAIN_RECORD_INFO

EDIT_DOMAIN_RECORD

public static final DoAction EDIT_DOMAIN_RECORD

DELETE_DOMAIN_RECORD

public static final DoAction DELETE_DOMAIN_RECORD
Method Detail

values

public static DoAction[] 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 (DoAction c : DoAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DoAction 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.com, 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.com has license information.