org.jboss.dna.jcr
Enum JcrRepository.Options
java.lang.Object
java.lang.Enum<JcrRepository.Options>
org.jboss.dna.jcr.JcrRepository.Options
- All Implemented Interfaces:
- Serializable, Comparable<JcrRepository.Options>
- Enclosing class:
- JcrRepository
public static enum JcrRepository.Options
- extends Enum<JcrRepository.Options>
The available options for the JcrRepository
.
Enum Constant Summary |
PROJECT_NODE_TYPES
Flag that defines whether or not the node types should be exposed as content under the "/jcr:system/jcr:nodeTypes " node. |
PROJECT_NODE_TYPES
public static final JcrRepository.Options PROJECT_NODE_TYPES
- Flag that defines whether or not the node types should be exposed as content under the "
/jcr:system/jcr:nodeTypes
" node. Value is either "true
" or "false
" (default).
- See Also:
JcrRepository.DefaultOptions.PROJECT_NODE_TYPES
values
public static final JcrRepository.Options[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(JcrRepository.Options c : JcrRepository.Options.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static JcrRepository.Options valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.