public static enum SandboxedFeature.UpdateHint extends java.lang.Enum<SandboxedFeature.UpdateHint>
Enum Constant and Description |
---|
NOT_AVAILABLE
The feature is not available in the classpath of the current
application.
|
NOT_COMPATIBLE
The current user is in a sandbox but the sandbox is incompatible with
the feature because the constraints cannot be accommodated.
|
NOT_EDITABLE
The current user is in a sandbox but the sandbox is in read-only mode.
|
NOT_ENABLED
The current user is in a sandbox but the feature is not enabled.
|
NOT_PERMITTED
The current user is in a sandbox but the user does not have the privilege
to use the feature.
|
NOT_SANDBOXED
The current metadata environment is not a sandbox environment; in other
words, the current user is not in a sandbox.
|
NOT_UNIFIED
The unified sandbox framework is turned off.
|
OK
OK to update.
|
Modifier and Type | Method and Description |
---|---|
static SandboxedFeature.UpdateHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SandboxedFeature.UpdateHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SandboxedFeature.UpdateHint OK
public static final SandboxedFeature.UpdateHint NOT_UNIFIED
public static final SandboxedFeature.UpdateHint NOT_AVAILABLE
SandboxedFeature
class is not in the classpath.public static final SandboxedFeature.UpdateHint NOT_SANDBOXED
public static final SandboxedFeature.UpdateHint NOT_EDITABLE
public static final SandboxedFeature.UpdateHint NOT_ENABLED
public static final SandboxedFeature.UpdateHint NOT_PERMITTED
public static final SandboxedFeature.UpdateHint NOT_COMPATIBLE
public static SandboxedFeature.UpdateHint[] values()
for (SandboxedFeature.UpdateHint c : SandboxedFeature.UpdateHint.values()) System.out.println(c);
public static SandboxedFeature.UpdateHint valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null