Package org.infinispan.xsite
Enum XSiteAdminCommand.AdminOperation
- java.lang.Object
-
- java.lang.Enum<XSiteAdminCommand.AdminOperation>
-
- org.infinispan.xsite.XSiteAdminCommand.AdminOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<XSiteAdminCommand.AdminOperation>
- Enclosing class:
- XSiteAdminCommand
public static enum XSiteAdminCommand.AdminOperation extends Enum<XSiteAdminCommand.AdminOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMEND_TAKE_OFFLINE
BRING_ONLINE
SITE_STATUS
STATUS
TAKE_OFFLINE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XSiteAdminCommand.AdminOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static XSiteAdminCommand.AdminOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SITE_STATUS
public static final XSiteAdminCommand.AdminOperation SITE_STATUS
-
STATUS
public static final XSiteAdminCommand.AdminOperation STATUS
-
TAKE_OFFLINE
public static final XSiteAdminCommand.AdminOperation TAKE_OFFLINE
-
BRING_ONLINE
public static final XSiteAdminCommand.AdminOperation BRING_ONLINE
-
AMEND_TAKE_OFFLINE
public static final XSiteAdminCommand.AdminOperation AMEND_TAKE_OFFLINE
-
-
Method Detail
-
values
public static XSiteAdminCommand.AdminOperation[] 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 (XSiteAdminCommand.AdminOperation c : XSiteAdminCommand.AdminOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XSiteAdminCommand.AdminOperation 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
-
-