|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<JcrRepository.Option>
org.jboss.dna.jcr.JcrRepository.Option
public static enum JcrRepository.Option

The available options for the JcrRepository.
| Enum Constant Summary | |
|---|---|
JAAS_LOGIN_CONFIG_NAME
The JAAS application configuration name that specifies which
login modules should be used to validate credentials. |
|
PROJECT_NODE_TYPES
Flag that defines whether or not the node types should be exposed as content under the " /jcr:system/jcr:nodeTypes" node. |
|
| Method Summary | |
|---|---|
static JcrRepository.Option |
findOption(String option)
Determine the option given the option name. |
static JcrRepository.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JcrRepository.Option[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JcrRepository.Option PROJECT_NODE_TYPES
/jcr:system/jcr:nodeTypes" node. Value is either "true" or "false" (default).
JcrRepository.DefaultOption.PROJECT_NODE_TYPESpublic static final JcrRepository.Option JAAS_LOGIN_CONFIG_NAME
JAAS application configuration name that specifies which
login modules should be used to validate credentials.
| Method Detail |
|---|
public static final JcrRepository.Option[] values()
for(JcrRepository.Option c : JcrRepository.Option.values())
System.out.println(c);
public static JcrRepository.Option valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic static JcrRepository.Option findOption(String option)
valueOf(String), since this method first
tries to match the supplied string to the option's name, then the uppercase version of the
supplied string to the option's name, and finally if the supplied string is a camel-case version of the name (e.g.,
"projectNodeTypes").
option - the string version of the option's name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||