org.rhq.core.domain.cloud
Enum PartitionEventType
java.lang.Object
java.lang.Enum<PartitionEventType>
org.rhq.core.domain.cloud.PartitionEventType
- All Implemented Interfaces:
- Serializable, Comparable<PartitionEventType>
public enum PartitionEventType
- extends Enum<PartitionEventType>
AGENT_REGISTRATION
public static final PartitionEventType AGENT_REGISTRATION
AGENT_CONNECT
public static final PartitionEventType AGENT_CONNECT
AGENT_SHUTDOWN
public static final PartitionEventType AGENT_SHUTDOWN
AGENT_LEAVE
public static final PartitionEventType AGENT_LEAVE
SERVER_DELETION
public static final PartitionEventType SERVER_DELETION
SERVER_COMPUTE_POWER_CHANGE
public static final PartitionEventType SERVER_COMPUTE_POWER_CHANGE
OPERATION_MODE_CHANGE
public static final PartitionEventType OPERATION_MODE_CHANGE
AGENT_AFFINITY_GROUP_ASSIGN
public static final PartitionEventType AGENT_AFFINITY_GROUP_ASSIGN
AGENT_AFFINITY_GROUP_REMOVE
public static final PartitionEventType AGENT_AFFINITY_GROUP_REMOVE
SERVER_AFFINITY_GROUP_ASSIGN
public static final PartitionEventType SERVER_AFFINITY_GROUP_ASSIGN
SERVER_AFFINITY_GROUP_REMOVE
public static final PartitionEventType SERVER_AFFINITY_GROUP_REMOVE
AFFINITY_GROUP_CHANGE
public static final PartitionEventType AFFINITY_GROUP_CHANGE
AFFINITY_GROUP_DELETE
public static final PartitionEventType AFFINITY_GROUP_DELETE
ADMIN_INITIATED_PARTITION
public static final PartitionEventType ADMIN_INITIATED_PARTITION
SYSTEM_INITIATED_PARTITION
public static final PartitionEventType SYSTEM_INITIATED_PARTITION
values
public static PartitionEventType[] 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 (PartitionEventType c : PartitionEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PartitionEventType 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
isCloudPartitionEvent
public boolean isCloudPartitionEvent()
- Returns:
- true if this event type forces a partition of all agents. false if this is a single agent event.
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.