Enum Class BackgroundProcess.Scope
- All Implemented Interfaces:
Serializable,Comparable<BackgroundProcess.Scope>,Constable
- Enclosing class:
BackgroundProcess
Defines the visibility of a process.
- Since:
- jcms-10.0.8
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe process will be visible by any member (having access to a page showing processes of processes with given domain), or admins, and on all server instances.The process will only be visible by its author, or admins, and on the current server instance only.The process will be visible by any member (having access to a page showing processes with given domain), or admins, but only on the current server instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic BackgroundProcess.ScopeReturns the enum constant of this class with the specified name.static BackgroundProcess.Scope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER
The process will only be visible by its author, or admins, and on the current server instance only. (Not on possible JSync replicates) -
WEBAPP
The process will be visible by any member (having access to a page showing processes with given domain), or admins, but only on the current server instance. (Not on possible JSync replicates) -
CLUSTER
The process will be visible by any member (having access to a page showing processes of processes with given domain), or admins, and on all server instances. (also, on other possible JSync replicates)
-
-
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
-