com.unboundid.directory.sdk.sync.types
Enum SetStartpointOptions.StartpointType

java.lang.Object
  extended by java.lang.Enum<SetStartpointOptions.StartpointType>
      extended by com.unboundid.directory.sdk.sync.types.SetStartpointOptions.StartpointType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SetStartpointOptions.StartpointType>
Enclosing class:
SetStartpointOptions

public static enum SetStartpointOptions.StartpointType
extends java.lang.Enum<SetStartpointOptions.StartpointType>

The possible startpoint types.


Enum Constant Summary
BEGINNING_OF_CHANGELOG
          Set the startpoint to the very beginning of the change log.
END_OF_CHANGELOG
          Set the startpoint to the very end of the change log.
RESUME_AT_CHANGE_NUMBER
          Set the startpoint to a specific change number in the change log.
RESUME_AT_CHANGE_TIME
          Set the startpoint to a specific time in the past.
RESUME_AT_CSN
          Set the startpoint to a specific change sequence number in the change log.
RESUME_AT_SERIALIZABLE
          Set the startpoint using a user-defined Serializable object.
 
Method Summary
static SetStartpointOptions.StartpointType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SetStartpointOptions.StartpointType[] 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

RESUME_AT_CSN

public static final SetStartpointOptions.StartpointType RESUME_AT_CSN
Set the startpoint to a specific change sequence number in the change log. Note: This type is specific to directory servers.


RESUME_AT_CHANGE_NUMBER

public static final SetStartpointOptions.StartpointType RESUME_AT_CHANGE_NUMBER
Set the startpoint to a specific change number in the change log.


RESUME_AT_CHANGE_TIME

public static final SetStartpointOptions.StartpointType RESUME_AT_CHANGE_TIME
Set the startpoint to a specific time in the past.


RESUME_AT_SERIALIZABLE

public static final SetStartpointOptions.StartpointType RESUME_AT_SERIALIZABLE
Set the startpoint using a user-defined Serializable object.


BEGINNING_OF_CHANGELOG

public static final SetStartpointOptions.StartpointType BEGINNING_OF_CHANGELOG
Set the startpoint to the very beginning of the change log.


END_OF_CHANGELOG

public static final SetStartpointOptions.StartpointType END_OF_CHANGELOG
Set the startpoint to the very end of the change log.

Method Detail

values

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

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

valueOf

public static SetStartpointOptions.StartpointType 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