Enum FailedDependencyAction
java.lang.Object
java.lang.Enum<FailedDependencyAction>
com.unboundid.ldap.sdk.unboundidds.tasks.FailedDependencyAction
- All Implemented Interfaces:
Serializable,Comparable<FailedDependencyAction>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum FailedDependencyAction
extends Enum<FailedDependencyAction>
This class defines a failed dependency action, which controls how a task
should behave if any of its dependencies fails.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe failed dependency action that indicates the dependent task should be canceled if any of its dependencies had failed.The failed dependency action that indicates the dependent task should be disabled if any of its dependencies had failed.The failed dependency action that indicates the dependent task should go ahead and continue processing as if none of its dependencies had failed. -
Method Summary
Modifier and TypeMethodDescriptionstatic FailedDependencyActionRetrieves the failed dependency action with the specified name.getName()Retrieves the name of this failed dependency action.toString()Retrieves a string representation of this failed dependency action.static FailedDependencyActionReturns the enum constant of this type with the specified name.static FailedDependencyAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROCESS
The failed dependency action that indicates the dependent task should go ahead and continue processing as if none of its dependencies had failed. -
CANCEL
The failed dependency action that indicates the dependent task should be canceled if any of its dependencies had failed. -
DISABLE
The failed dependency action that indicates the dependent task should be disabled if any of its dependencies had failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getName
Retrieves the name of this failed dependency action.- Returns:
- The name of this failed dependency action.
-
forName
Retrieves the failed dependency action with the specified name.- Parameters:
name- The name of the failed dependency action to retrieve. It must not benull.- Returns:
- The requested failed dependency action, or
nullif there is no action with the given name.
-
toString
Retrieves a string representation of this failed dependency action.- Overrides:
toStringin classEnum<FailedDependencyAction>- Returns:
- A string representation of this failed dependency action.
-