public enum ApplicationPermissionRule extends Enum<ApplicationPermissionRule>
| Enum Constant and Description |
|---|
ALLOW
The permission grants the ability to view/use the
ApplicationFeature. |
VETO
The permission prevents the ability to view/use the
ApplicationFeature. |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ApplicationPermissionRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationPermissionRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationPermissionRule ALLOW
ApplicationFeature.
The mode determines whether the
permission is to only view or also to use the ApplicationFeature.
public static final ApplicationPermissionRule VETO
ApplicationFeature.
The mode determines whether the
permission is to only view or also to use the ApplicationFeature.
public static ApplicationPermissionRule[] values()
for (ApplicationPermissionRule c : ApplicationPermissionRule.values()) System.out.println(c);
public static ApplicationPermissionRule 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 nullpublic String toString()
toString in class Enum<ApplicationPermissionRule>Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.