Package com.evolveum.midpoint.schema
Enum Class ObjectOperationOption
- All Implemented Interfaces:
Serializable
,Comparable<ObjectOperationOption>
,Constable
- Author:
- semancik
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEncrypt any cleartext data on write, decrypt any encrypted data on read.Force the operation even if it would otherwise fail due to external failure.No not fetch any information from external sources, e.g.Avoid any smart processing of the data except for schema application.Resolve the object reference. -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<ObjectOperationOption>
createCollection
(ObjectOperationOption... options) static boolean
hasOption
(Collection<ObjectOperationOption> options, ObjectOperationOption option) static ObjectOperationOption
Returns the enum constant of this class with the specified name.static ObjectOperationOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESOLVE
Resolve the object reference. This only makes sense with a (path-based) selector. -
NO_FETCH
No not fetch any information from external sources, e.g. do not fetch account data from resource, do not fetch resource schema, etc. Such operation returns only the data stored in midPoint repository. -
FORCE
Force the operation even if it would otherwise fail due to external failure. E.g. attempt to delete an account that no longer exists on resource may fail without a FORCE option. If FORCE option is used then the operation is finished even if the account does not exist (e.g. at least shadow is removed from midPoint repository). -
RAW
Avoid any smart processing of the data except for schema application. Do not synchronize the data, do not apply any expressions, etc. -
CRYPT
Encrypt any cleartext data on write, decrypt any encrypted data on read. Applies only to the encrypted data formats (ProtectedString, ProtectedByteArray).
-
-
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
-
hasOption
public static boolean hasOption(Collection<ObjectOperationOption> options, ObjectOperationOption option) -
createCollection
-