public enum BackupOperation extends Enum<BackupOperation> implements Operation<BackupOperationContext>
Enum Constant and Description |
---|
BRING_SITE_ONLINE |
SITE_STATUS |
TAKE_SITE_OFFLINE |
Modifier and Type | Method and Description |
---|---|
org.jboss.as.controller.OperationDefinition |
getDefinition()
Returns the definition of this object.
|
static BackupOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackupOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
execute
public static final BackupOperation BRING_SITE_ONLINE
public static final BackupOperation TAKE_SITE_OFFLINE
public static final BackupOperation SITE_STATUS
public static BackupOperation[] values()
for (BackupOperation c : BackupOperation.values()) System.out.println(c);
public static BackupOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic org.jboss.as.controller.OperationDefinition getDefinition()
Definable
getDefinition
in interface Definable<org.jboss.as.controller.OperationDefinition>
Copyright © 2017 JBoss by Red Hat. All rights reserved.