Package org.jboss.as.controller.registry
Enum Class OperationEntry.Flag
- All Implemented Interfaces:
Serializable,Comparable<OperationEntry.Flag>,Constable
- Enclosing class:
- OperationEntry
Flags to indicate special characteristics of an operation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA domain or host-level operation that should be pushed to the servers even if the default behavior would indicate otherwiseOperations with this flag do not appear in management API description output but still can be invoked by external callers.A host-level operation that should only be executed on the HostController and not on the servers, even if the default behavior would indicate otherwiseA domain-level operation that should only be executed on the master HostController and not on the slaves, even if the default behavior would indicate otherwiseOperation only reads, does not modifyThe operation modifies the configuration but can only be applied to the runtime via a restart of all services; however it does not require a full jvm restartThe operation modifies the configuration but can only be applied to the runtime via a full jvm restartThe operation modifies the configuration and can be applied to the runtime without requiring a restartThe operation modifies the configuration but can only be applied to the runtime via a restart of services, associated with the affected resource, but does not require a restart of all services or a full jvm restartOperations with this flag do not affect the mode or change the installed services. -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<OperationEntry.Flag>immutableSetOf(Set<OperationEntry.Flag> flags) static OperationEntry.FlagReturns the enum constant of this class with the specified name.static OperationEntry.Flag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ_ONLY
Operation only reads, does not modify -
RESTART_NONE
The operation modifies the configuration and can be applied to the runtime without requiring a restart -
RESTART_JVM
The operation modifies the configuration but can only be applied to the runtime via a full jvm restart -
RESTART_ALL_SERVICES
The operation modifies the configuration but can only be applied to the runtime via a restart of all services; however it does not require a full jvm restart -
RESTART_RESOURCE_SERVICES
The operation modifies the configuration but can only be applied to the runtime via a restart of services, associated with the affected resource, but does not require a restart of all services or a full jvm restart -
DOMAIN_PUSH_TO_SERVERS
A domain or host-level operation that should be pushed to the servers even if the default behavior would indicate otherwise -
HOST_CONTROLLER_ONLY
A host-level operation that should only be executed on the HostController and not on the servers, even if the default behavior would indicate otherwise -
MASTER_HOST_CONTROLLER_ONLY
A domain-level operation that should only be executed on the master HostController and not on the slaves, even if the default behavior would indicate otherwise -
RUNTIME_ONLY
Operations with this flag do not affect the mode or change the installed services. The main intention for this is to only make RUNTIME_ONLY methods on domain mode servers visible to end users. -
HIDDEN
Operations with this flag do not appear in management API description output but still can be invoked by external callers. This is meant for operations that were not meant to be part of the supported external management API but users may have learned of them. Such ops should be evaluated for inclusion as normally described ops, or perhaps should be marked withOperationEntry.EntryType.PRIVATEand external use thus disabled. This can also be used for ops that are invoked internally on one domain process by another domain process but where it's not possible for the caller to suppress the caller-type=user header from the op, making use ofOperationEntry.EntryType.PRIVATEnot workable.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
immutableSetOf
-