Enum ResourceObjectTypeDependencyStrictnessType
- java.lang.Object
-
- java.lang.Enum<ResourceObjectTypeDependencyStrictnessType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDependencyStrictnessType
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceObjectTypeDependencyStrictnessType>
public enum ResourceObjectTypeDependencyStrictnessType extends Enum<ResourceObjectTypeDependencyStrictnessType>
Java class for ResourceObjectTypeDependencyStrictnessType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ResourceObjectTypeDependencyStrictnessType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="strict"/> <enumeration value="relaxed"/> <enumeration value="lax"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LAX
If the object that we depend on is being provisioned in the same operation (context) as the dependent object then they will be provisioned in order: independent first, dependent second.RELAXED
If the object that we depend on is being provisioned in the same operation (context) as the dependent object then they will be provisioned in order: independent first, dependent second.STRICT
If the object that we depend on is not provisioned then the dependent object will not be provisioned either.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceObjectTypeDependencyStrictnessType
fromValue(String v)
String
value()
static ResourceObjectTypeDependencyStrictnessType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceObjectTypeDependencyStrictnessType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRICT
public static final ResourceObjectTypeDependencyStrictnessType STRICT
If the object that we depend on is not provisioned then the dependent object will not be provisioned either. Attempt to provision it will end up with an error. If the object that we depend on is being provisioned in the same operation (context) as the dependent object then they will be provisioned in order: independent first, dependent second. Proper inbound-template-outbound sequence of mapping will be executed between the provisionings.
-
RELAXED
public static final ResourceObjectTypeDependencyStrictnessType RELAXED
If the object that we depend on is being provisioned in the same operation (context) as the dependent object then they will be provisioned in order: independent first, dependent second. Proper inbound-template-outbound sequence of mapping will be executed between the provisionings. But no error is thrown if the dependent object is provisioned without the other object. If both objects are being provisioned in the same operation (context) and provisioning of the object that we depend on fails the provisioning of the dependent object will be skipped. The relaxed strictness guarantees ordering in case that both objects are being provisioned in the same operation (context) and delaying of the operation on dependent resource in case the operation on independent resource fails.
-
LAX
public static final ResourceObjectTypeDependencyStrictnessType LAX
If the object that we depend on is being provisioned in the same operation (context) as the dependent object then they will be provisioned in order: independent first, dependent second. Proper inbound-template-outbound sequence of mapping will be executed between the provisionings. But NO ERROR is thrown if the dependent object is provisioned without the other object. Not even if they are provisioned in the same operation (context) an the independent object fails. The lax strictness only guarantees ordering in case that both objects are being (successfully) provisioned. It does not guarantee anything else.
-
-
Method Detail
-
values
public static ResourceObjectTypeDependencyStrictnessType[] 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 (ResourceObjectTypeDependencyStrictnessType c : ResourceObjectTypeDependencyStrictnessType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceObjectTypeDependencyStrictnessType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static ResourceObjectTypeDependencyStrictnessType fromValue(String v)
-
-