public static enum AccessControlImporter.ImportBehavior extends Enum<AccessControlImporter.ImportBehavior>
Enum Constant and Description |
---|
BEST_EFFORT
Tries to minimize errors by adapting the content and bypassing validation checks (e.g.
|
DEFAULT
Default behavior that does not try to prevent errors or incompatibilities between the content
and the ACL manager (eg.
|
Modifier and Type | Method and Description |
---|---|
static AccessControlImporter.ImportBehavior |
fromString(String str) |
String |
getString() |
static AccessControlImporter.ImportBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessControlImporter.ImportBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessControlImporter.ImportBehavior DEFAULT
public static final AccessControlImporter.ImportBehavior BEST_EFFORT
public static AccessControlImporter.ImportBehavior[] values()
for (AccessControlImporter.ImportBehavior c : AccessControlImporter.ImportBehavior.values()) System.out.println(c);
public static AccessControlImporter.ImportBehavior 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 static AccessControlImporter.ImportBehavior fromString(String str)
public String getString()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.