com.atlassian.confluence.it.usermanagement
Enum Directory

java.lang.Object
  extended by java.lang.Enum<Directory>
      extended by com.atlassian.confluence.it.usermanagement.Directory
All Implemented Interfaces:
Serializable, Comparable<Directory>

public enum Directory
extends Enum<Directory>


Enum Constant Summary
ACTIVE_DIRECTORY
           
CROWD
           
DEFAULT
           
EXTERNAL_CROWD
           
READ_ONLY
           
READ_ONLY_LOCAL_GROUPS
           
READ_WRITE
           
 
Method Summary
 Class<? extends DirectoryConfiguration> getConfigClass()
           
 DirectoryConfiguration getInstance()
           
static DirectoryConfiguration getInstance(String mode)
           
static boolean isReadOnly(DirectoryConfiguration config)
           
static Directory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Directory[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final Directory DEFAULT

READ_ONLY

public static final Directory READ_ONLY

READ_ONLY_LOCAL_GROUPS

public static final Directory READ_ONLY_LOCAL_GROUPS

READ_WRITE

public static final Directory READ_WRITE

CROWD

public static final Directory CROWD

EXTERNAL_CROWD

public static final Directory EXTERNAL_CROWD

ACTIVE_DIRECTORY

public static final Directory ACTIVE_DIRECTORY
Method Detail

values

public static Directory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Directory c : Directory.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Directory 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
NullPointerException - if the argument is null

getConfigClass

public Class<? extends DirectoryConfiguration> getConfigClass()

getInstance

public DirectoryConfiguration getInstance()

getInstance

public static DirectoryConfiguration getInstance(String mode)

isReadOnly

public static boolean isReadOnly(DirectoryConfiguration config)


Copyright © 2003-2012 Atlassian. All Rights Reserved.