public enum DangerousPermissionHandlingMode extends Enum<DangerousPermissionHandlingMode>
Enum Constant and Description |
---|
DISABLED
Dangerous permissions are explicitly disabled.
|
ENABLED
Deprecated.
Use on your own risk, compatibility mode
|
UNDEFINED
The behavior is up to the global settings and the migration logic.
|
Modifier and Type | Field and Description |
---|---|
static DangerousPermissionHandlingMode |
CURRENT |
static String |
PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
static DangerousPermissionHandlingMode |
getCurrent()
Retrieves the current mode.
|
static DangerousPermissionHandlingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DangerousPermissionHandlingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DangerousPermissionHandlingMode DISABLED
DangerousPermissionAdministrativeMonitor
will be disabled as well.@Deprecated public static final DangerousPermissionHandlingMode ENABLED
DangerousPermissionAdministrativeMonitor
will be suppressed.public static final DangerousPermissionHandlingMode UNDEFINED
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final String PROPERTY_NAME
@Nonnull @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static DangerousPermissionHandlingMode CURRENT
public static DangerousPermissionHandlingMode[] values()
for (DangerousPermissionHandlingMode c : DangerousPermissionHandlingMode.values()) System.out.println(c);
public static DangerousPermissionHandlingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nonnull public static DangerousPermissionHandlingMode getCurrent()
Copyright © 2016–2018. All rights reserved.