org.inria.myriads.snoozecommon.communication.virtualcluster.status
Enum VirtualMachineErrorCode

java.lang.Object
  extended by java.lang.Enum<VirtualMachineErrorCode>
      extended by org.inria.myriads.snoozecommon.communication.virtualcluster.status.VirtualMachineErrorCode
All Implemented Interfaces:
Serializable, Comparable<VirtualMachineErrorCode>

public enum VirtualMachineErrorCode
extends Enum<VirtualMachineErrorCode>

Virtual machine error codes.

Author:
Eugen Feller

Enum Constant Summary
ALREADY_RUNNING
          Already running.
FAILED_TO_UPDATE_REPOSITORY
          Failed to update repository.
LOCAL_CONTROLLER_WAKEUP_FAILED
          Local controller wakeup failure.
NOT_ENOUGH_GROUP_MANAGER_CAPACITY
          Not enough group manager capacity.
NOT_ENOUGH_IP_ADDRESSES
          Not enough IP addresses.
NOT_ENOUGH_LOCAL_CONTROLLER_CAPACITY
          Not enough local controller capacity.
UNABLE_TO_COLLECT_GROUP_MANAGER_RESPONSE
          Unable to collect group manager reponse.
UNABLE_TO_START_ON_GROUP_MANAGER
          Unable to start on group manager.
UNABLE_TO_START_ON_LOCAL_CONTROLLER
          Failed to start on local controller.
UNKNOWN
          Unknown.
 
Method Summary
static VirtualMachineErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VirtualMachineErrorCode[] 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

UNKNOWN

public static final VirtualMachineErrorCode UNKNOWN
Unknown.


NOT_ENOUGH_IP_ADDRESSES

public static final VirtualMachineErrorCode NOT_ENOUGH_IP_ADDRESSES
Not enough IP addresses.


NOT_ENOUGH_LOCAL_CONTROLLER_CAPACITY

public static final VirtualMachineErrorCode NOT_ENOUGH_LOCAL_CONTROLLER_CAPACITY
Not enough local controller capacity.


UNABLE_TO_START_ON_LOCAL_CONTROLLER

public static final VirtualMachineErrorCode UNABLE_TO_START_ON_LOCAL_CONTROLLER
Failed to start on local controller.


FAILED_TO_UPDATE_REPOSITORY

public static final VirtualMachineErrorCode FAILED_TO_UPDATE_REPOSITORY
Failed to update repository.


ALREADY_RUNNING

public static final VirtualMachineErrorCode ALREADY_RUNNING
Already running.


UNABLE_TO_START_ON_GROUP_MANAGER

public static final VirtualMachineErrorCode UNABLE_TO_START_ON_GROUP_MANAGER
Unable to start on group manager.


UNABLE_TO_COLLECT_GROUP_MANAGER_RESPONSE

public static final VirtualMachineErrorCode UNABLE_TO_COLLECT_GROUP_MANAGER_RESPONSE
Unable to collect group manager reponse.


NOT_ENOUGH_GROUP_MANAGER_CAPACITY

public static final VirtualMachineErrorCode NOT_ENOUGH_GROUP_MANAGER_CAPACITY
Not enough group manager capacity.


LOCAL_CONTROLLER_WAKEUP_FAILED

public static final VirtualMachineErrorCode LOCAL_CONTROLLER_WAKEUP_FAILED
Local controller wakeup failure.

Method Detail

values

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

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

valueOf

public static VirtualMachineErrorCode 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


Copyright © 2012. All Rights Reserved.