com.atlassian.crowd.manager.directory
Enum SynchronisationMode

java.lang.Object
  extended by java.lang.Enum<SynchronisationMode>
      extended by com.atlassian.crowd.manager.directory.SynchronisationMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SynchronisationMode>

public enum SynchronisationMode
extends java.lang.Enum<SynchronisationMode>

Synchronisation modes for synchronising a directory.


Enum Constant Summary
FULL
          Synchronise with the entire userbase from remote directory.
INCREMENTAL
          Synchronise the changes since the last synchronisation.
 
Method Summary
static SynchronisationMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SynchronisationMode[] 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

INCREMENTAL

public static final SynchronisationMode INCREMENTAL
Synchronise the changes since the last synchronisation.


FULL

public static final SynchronisationMode FULL
Synchronise with the entire userbase from remote directory.

Method Detail

values

public static SynchronisationMode[] 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 (SynchronisationMode c : SynchronisationMode.values())
    System.out.println(c);

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

valueOf

public static SynchronisationMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010 Atlassian. All Rights Reserved.