Enum BackgroundProcess.Scope
- java.lang.Object
-
- java.lang.Enum<BackgroundProcess.Scope>
-
- com.jalios.jcms.backgroundprocess.BackgroundProcess.Scope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BackgroundProcess.Scope>
- Enclosing class:
- BackgroundProcess
public static enum BackgroundProcess.Scope extends java.lang.Enum<BackgroundProcess.Scope>
Defines the visibility of a process.- Since:
- jcms-10.0.8
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.USER
The process will only be visible by its author, or admins, and on the current server instance only.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BackgroundProcess.Scope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BackgroundProcess.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final BackgroundProcess.Scope 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
public static final BackgroundProcess.Scope 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
public static final BackgroundProcess.Scope 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 Detail
-
values
public static BackgroundProcess.Scope[] 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 (BackgroundProcess.Scope c : BackgroundProcess.Scope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BackgroundProcess.Scope valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-