Package com.evolveum.midpoint.schema
Class TaskExecutionMode
- java.lang.Object
-
- com.evolveum.midpoint.schema.TaskExecutionMode
-
- All Implemented Interfaces:
Serializable
public class TaskExecutionMode extends Object implements Serializable
Describes the execution mode this task runs in. For example, if it is a "full execution" or a preview/simulation. Or, if we should work with the production or development configuration. TEMPORARY IMPLEMENTATION- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TaskExecutionMode
PRODUCTION
static TaskExecutionMode
SIMULATED_DEVELOPMENT
static TaskExecutionMode
SIMULATED_PRODUCTION
static TaskExecutionMode
SIMULATED_SHADOWS_DEVELOPMENT
static TaskExecutionMode
SIMULATED_SHADOWS_PRODUCTION
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
areShadowChangesSimulated()
boolean
isFullyPersistent()
TODOboolean
isNothingPersistent()
boolean
isPersistentAtShadowLevelButNotFully()
boolean
isProductionConfiguration()
What configuration should the actions take into account? Production or "development" one? - Production usually means `active` and `deprecated` lifecycle states.@NotNull ConfigurationSpecificationType
toConfigurationSpecification()
String
toString()
-
-
-
Field Detail
-
PRODUCTION
public static final TaskExecutionMode PRODUCTION
-
SIMULATED_PRODUCTION
public static final TaskExecutionMode SIMULATED_PRODUCTION
-
SIMULATED_DEVELOPMENT
public static final TaskExecutionMode SIMULATED_DEVELOPMENT
-
SIMULATED_SHADOWS_PRODUCTION
public static final TaskExecutionMode SIMULATED_SHADOWS_PRODUCTION
-
SIMULATED_SHADOWS_DEVELOPMENT
public static final TaskExecutionMode SIMULATED_SHADOWS_DEVELOPMENT
-
-
Method Detail
-
isFullyPersistent
public boolean isFullyPersistent()
TODO
-
isPersistentAtShadowLevelButNotFully
public boolean isPersistentAtShadowLevelButNotFully()
-
isNothingPersistent
public boolean isNothingPersistent()
-
areShadowChangesSimulated
public boolean areShadowChangesSimulated()
-
isProductionConfiguration
public boolean isProductionConfiguration()
What configuration should the actions take into account? Production or "development" one? - Production usually means `active` and `deprecated` lifecycle states. - Development usually means `active` and `proposed` states. However, in the future we may provide more customization options here (e.g. explicit enumeration of lifecycle states to use, or even a set of specific deltas to apply). IfpersistenceMode
is `true` thenproductionConfiguration
should be `true` as well. See https://docs.evolveum.com/midpoint/devel/design/simulations/ for more information.
-
toConfigurationSpecification
@NotNull public @NotNull ConfigurationSpecificationType toConfigurationSpecification()
-
-