Enum RemoteClusterOperation
- java.lang.Object
-
- java.lang.Enum<RemoteClusterOperation>
-
- org.jboss.as.clustering.infinispan.subsystem.remote.RemoteClusterOperation
-
- All Implemented Interfaces:
Serializable,Comparable<RemoteClusterOperation>,org.jboss.as.clustering.controller.Definable<org.jboss.as.controller.OperationDefinition>,org.jboss.as.clustering.controller.Operation<Map.Entry<String,org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>>
public enum RemoteClusterOperation extends Enum<RemoteClusterOperation> implements org.jboss.as.clustering.controller.Operation<Map.Entry<String,org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean>>
- Author:
- Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SWITCH_CLUSTER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.as.controller.OperationDefinitiongetDefinition()static RemoteClusterOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static RemoteClusterOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SWITCH_CLUSTER
public static final RemoteClusterOperation SWITCH_CLUSTER
-
-
Method Detail
-
values
public static RemoteClusterOperation[] 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 (RemoteClusterOperation c : RemoteClusterOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemoteClusterOperation 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 nameNullPointerException- if the argument is null
-
getDefinition
public org.jboss.as.controller.OperationDefinition getDefinition()
- Specified by:
getDefinitionin interfaceorg.jboss.as.clustering.controller.Definable<org.jboss.as.controller.OperationDefinition>
-
-