com.unboundid.directory.sdk.sync.types
Enum PreStepResult

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

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

This result is returned by plugins that are invoked before a step of the synchronization processing. It directs the core synchronization processing code how to continue processing the operation.


Enum Constant Summary
ABORT_OPERATION
          This result indicates that the current operation should be aborted without any additional processing.
CONTINUE
          This result indicates that processing should continue with the current step.
RETRY_OPERATION_LIMITED
          This result indicates that there was some error processing the current operation in the plugin and that it should be retried a limited number of times.
RETRY_OPERATION_UNLIMITED
          This result indicates that there was some error processing the current operation in the plugin and that it should be retried an limited number of times.
SKIP_CURRENT_STEP
          This result indicates that processing should skip the current step and then continue.
 
Method Summary
static PreStepResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PreStepResult[] 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

CONTINUE

public static final PreStepResult CONTINUE
This result indicates that processing should continue with the current step.


SKIP_CURRENT_STEP

public static final PreStepResult SKIP_CURRENT_STEP
This result indicates that processing should skip the current step and then continue. Plugins that return this result take on full responsibility for providing the functionality of the skipped step.


ABORT_OPERATION

public static final PreStepResult ABORT_OPERATION
This result indicates that the current operation should be aborted without any additional processing.


RETRY_OPERATION_LIMITED

public static final PreStepResult RETRY_OPERATION_LIMITED
This result indicates that there was some error processing the current operation in the plugin and that it should be retried a limited number of times.


RETRY_OPERATION_UNLIMITED

public static final PreStepResult RETRY_OPERATION_UNLIMITED
This result indicates that there was some error processing the current operation in the plugin and that it should be retried an limited number of times.

Method Detail

values

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

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

valueOf

public static PreStepResult 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