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 TaskExecutionModePRODUCTIONstatic TaskExecutionModeSIMULATED_DEVELOPMENTstatic TaskExecutionModeSIMULATED_PRODUCTIONstatic TaskExecutionModeSIMULATED_SHADOWS_DEVELOPMENTstatic TaskExecutionModeSIMULATED_SHADOWS_PRODUCTION
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareShadowChangesSimulated()booleanisFullyPersistent()TODObooleanisNothingPersistent()booleanisPersistentAtShadowLevelButNotFully()booleanisProductionConfiguration()What configuration should the actions take into account? Production or "development" one? - Production usually means `active` and `deprecated` lifecycle states.@NotNull ConfigurationSpecificationTypetoConfigurationSpecification()StringtoString()
-
-
-
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). IfpersistenceModeis `true` thenproductionConfigurationshould be `true` as well. See https://docs.evolveum.com/midpoint/devel/design/simulations/ for more information.
-
toConfigurationSpecification
@NotNull public @NotNull ConfigurationSpecificationType toConfigurationSpecification()
-
-