Class ActivityDefinition<WD extends WorkDefinition>
java.lang.Object
com.evolveum.midpoint.repo.common.activity.definition.ActivityDefinition<WD>
- All Implemented Interfaces:
- DebugDumpable,- Cloneable
public class ActivityDefinition<WD extends WorkDefinition>
extends Object
implements DebugDumpable, Cloneable
Definition of an activity.
 It is analogous to (and primarily filled-in from) 
ActivityDefinitionType, but contains
 the complete information about particular activity in the context of given task, e.g. various defaults resolved.
 Should not contain any data related to the execution of the activity.- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyChangeTailoring(@NotNull ActivityTailoringType tailoring) voidapplySubtaskTailoring(@NotNull ActivitySubtaskDefinitionType subtaskSpecification) clone()Does the deep clone.Asclone()but discards theexplicitlyDefinedIdentifiervalue.static <WD extends AbstractWorkDefinition>
 ActivityDefinition<WD>createActivityDefinition(@NotNull ActivityDefinitionType definitionBean, @NotNull ConfigurationItemOrigin origin) static @NotNull ActivityDefinition<?>createChild(@NotNull ActivityDefinitionType childDefBean, @NotNull ConfigurationItemOrigin childDefOrigin) Creates a definition for a child of a custom composite activity.static <WD extends AbstractWorkDefinition>
 ActivityDefinition<WD>createRoot(Task rootTask) Creates a definition for the root activity in the task.debugDump(int indent) @NotNull AffectedObjectsInformation@NotNull ActivityControlFlowDefinition@NotNull ActivityDistributionDefinitionDeprecated.@NotNull ExecutionModeType@NotNull ActivityExecutionModeDefinition@Nullable String@Nullable FailedObjectsSelectorType@NotNull ActivityReportingDefinitionbooleantoString()Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
createRootpublic static <WD extends AbstractWorkDefinition> ActivityDefinition<WD> createRoot(Task rootTask) throws SchemaException, ConfigurationException Creates a definition for the root activity in the task. It is taken from theActivityDefinitionType, as legacy handler URIs are no longer supported (since 4.8).
- 
createActivityDefinitionpublic static <WD extends AbstractWorkDefinition> ActivityDefinition<WD> createActivityDefinition(@NotNull @NotNull ActivityDefinitionType definitionBean, @NotNull @NotNull ConfigurationItemOrigin origin) throws SchemaException, ConfigurationException 
- 
createChild@NotNull public static @NotNull ActivityDefinition<?> createChild(@NotNull @NotNull ActivityDefinitionType childDefBean, @NotNull @NotNull ConfigurationItemOrigin childDefOrigin) Creates a definition for a child of a custom composite activity. Currently, it is taken solely from the child activity definition bean.
- 
getExecutionMode
- 
getErrorCriticalityDeprecated.
- 
getWorkDefinition
- 
getWorkDefinitionClass
- 
getDistributionDefinition
- 
getControlFlowDefinition
- 
getExecutionModeDefinition
- 
toString
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
getExplicitlyDefinedIdentifier
- 
applyChangeTailoring
- 
applySubtaskTailoringpublic void applySubtaskTailoring(@NotNull @NotNull ActivitySubtaskDefinitionType subtaskSpecification) 
- 
cloneDoes the deep clone. The goal is to be able to modify cloned definition freely. BEWARE: Do not use this method to create a definition clone to be used for child activities. UsecloneWithoutId()instead. See MID-7894.
- 
cloneWithoutIdAsclone()but discards theexplicitlyDefinedIdentifiervalue.
- 
getReportingDefinition
- 
getFailedObjectsSelector
- 
getAffectedObjectsInformation@NotNull public @NotNull AffectedObjectsInformation getAffectedObjectsInformation() throws SchemaException, ConfigurationException
- 
shouldCreateSimulationResultpublic boolean shouldCreateSimulationResult()
 
-