Enum Class ResourceTestOptions.ResourceCompletionMode
java.lang.Object
java.lang.Enum<ResourceTestOptions.ResourceCompletionMode>
com.evolveum.midpoint.provisioning.api.ResourceTestOptions.ResourceCompletionMode
- All Implemented Interfaces:
Serializable
,Comparable<ResourceTestOptions.ResourceCompletionMode>
,Constable
- Enclosing class:
- ResourceTestOptions
public static enum ResourceTestOptions.ResourceCompletionMode
extends Enum<ResourceTestOptions.ResourceCompletionMode>
Whether capabilities and schema should be written back to the resource (into repository or in-memory version).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlways updates capabilities and schema.Complete the resource if it's not complete.Never do the completion. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEVER
Never do the completion. -
IF_NOT_COMPLETE
Complete the resource if it's not complete. This updates both capabilities and schema if either one of them is missing. This is the legacy (pre-4.6) behavior, and is currently the default when repository update is carried out. TODO determine for in-memory updates only. -
ALWAYS
Always updates capabilities and schema.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-