Package org.apache.wicket.protocol.http
Enum IResourceIsolationPolicy.ResourceIsolationOutcome
- java.lang.Object
-
- java.lang.Enum<IResourceIsolationPolicy.ResourceIsolationOutcome>
-
- org.apache.wicket.protocol.http.IResourceIsolationPolicy.ResourceIsolationOutcome
-
- All Implemented Interfaces:
Serializable
,Comparable<IResourceIsolationPolicy.ResourceIsolationOutcome>
- Enclosing interface:
- IResourceIsolationPolicy
public static enum IResourceIsolationPolicy.ResourceIsolationOutcome extends Enum<IResourceIsolationPolicy.ResourceIsolationOutcome>
Indicates the outcome for a resource isolation policy for a request. When the outcome isUNKNOWN
, the next policy will be consulted.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOWED
DISALLOWED
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IResourceIsolationPolicy.ResourceIsolationOutcome
valueOf(String name)
Returns the enum constant of this type with the specified name.static IResourceIsolationPolicy.ResourceIsolationOutcome[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOWED
public static final IResourceIsolationPolicy.ResourceIsolationOutcome ALLOWED
-
DISALLOWED
public static final IResourceIsolationPolicy.ResourceIsolationOutcome DISALLOWED
-
UNKNOWN
public static final IResourceIsolationPolicy.ResourceIsolationOutcome UNKNOWN
-
-
Method Detail
-
values
public static IResourceIsolationPolicy.ResourceIsolationOutcome[] 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 (IResourceIsolationPolicy.ResourceIsolationOutcome c : IResourceIsolationPolicy.ResourceIsolationOutcome.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IResourceIsolationPolicy.ResourceIsolationOutcome 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
-
-