public static enum AcHandling.ACHandlingLevelSet extends Enum<AcHandling.ACHandlingLevelSet>
Enum Constant and Description |
---|
EXPLICIT
Marker set for explicit enumeration in
allowedModes array. |
NO_CLEAR
Allow all acHandling modes except for
AccessControlHandling.CLEAR . |
NO_UNSAFE
(Default levelSet) Prevent blindly destructive modes.
|
ONLY_ADD
Allow only
AccessControlHandling.MERGE_PRESERVE or AccessControlHandling.IGNORE . |
ONLY_IGNORE
Prevent any ACL changes by requiring
AccessControlHandling.IGNORE . |
Modifier and Type | Method and Description |
---|---|
List<org.apache.jackrabbit.vault.fs.io.AccessControlHandling> |
getAllowedModes() |
static AcHandling.ACHandlingLevelSet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcHandling.ACHandlingLevelSet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcHandling.ACHandlingLevelSet EXPLICIT
allowedModes
array.public static final AcHandling.ACHandlingLevelSet NO_CLEAR
AccessControlHandling.CLEAR
.public static final AcHandling.ACHandlingLevelSet NO_UNSAFE
public static final AcHandling.ACHandlingLevelSet ONLY_ADD
AccessControlHandling.MERGE_PRESERVE
or AccessControlHandling.IGNORE
. This results
in only allowing additive ACE changes.public static final AcHandling.ACHandlingLevelSet ONLY_IGNORE
AccessControlHandling.IGNORE
.public static AcHandling.ACHandlingLevelSet[] values()
for (AcHandling.ACHandlingLevelSet c : AcHandling.ACHandlingLevelSet.values()) System.out.println(c);
public static AcHandling.ACHandlingLevelSet 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 List<org.apache.jackrabbit.vault.fs.io.AccessControlHandling> getAllowedModes()
Copyright © 2017–2020. All rights reserved.