Class Activity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>  
java.lang.Object
com.evolveum.midpoint.repo.common.activity.Activity<WD,AH> 
- Type Parameters:
- WD- Type of the work definition object
- AH- Type of the activity handler object
- All Implemented Interfaces:
- DebugDumpable
- Direct Known Subclasses:
- EmbeddedActivity,- StandaloneActivity
public abstract class Activity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>  
extends Object
implements DebugDumpable
Binds together all the information about an activity and its run (if present).
 The 
Activity itself is a binder for (shortly speaking):
 . (definition) ActivityDefinition
 . (run) AbstractActivityRun (optional - only if we are dealing with the currently executing activity)
   * ActivityState;
 . (tree) ActivityTree
   * ActivityTreeStateOverview
 . ActivityHandler- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccept(@NotNull ActivityVisitor visitor) @NotNull AbstractActivityRun<?,?, ?> createRun(ActivityBasedTaskRun taskRun, OperationResult result) Creates and sets the activity run (run).debugDump(int indent) booleandoesTaskExecuteTreeRootActivity(Task activityTask) abstract @NotNull ActivityStateDefinition<?>protected abstract @NotNull CandidateIdentifierFormatterReturns objects that suggest child activity identifiers.@NotNull Activity<?,?> @NotNull ActivityControlFlowDefinition@NotNull ActivityDefinition<WD>@NotNull ActivityDistributionDefinition@NotNull ExecutionModeTypeabstract AH@Nullable ActivityPathprotected abstract @NotNull ActivityRunSupplier<WD,AH> Returns objects that createAbstractActivityRunobjects for this activity.abstract Activity<?,?> @NotNull ActivityPathgetPath()@NotNull ActivityReportingDefinitiongetRun()@NotNull ActivityTreegetTree()voidbooleanIs this activity the local root i.e.booleanisRoot()Is this activity the (global) root of the activity tree?booleanvoidtoString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
getIdentifier
- 
getDefinition
- 
getWorkDefinition
- 
getDistributionDefinition
- 
getReportingDefinition
- 
getControlFlowDefinition
- 
getHandler
- 
getLocalRunSupplierReturns objects that createAbstractActivityRunobjects for this activity. It is used in cases where the activity runs locally i.e. is not delegated nor distributed. SeeActivityRunSupplier.
- 
getCandidateIdentifierFormatterReturns objects that suggest child activity identifiers.
- 
getActivityStateDefinition
- 
getRun
- 
getTree
- 
setLocalRootpublic void setLocalRoot()
- 
getParent
- 
getChildrenCopy
- 
getChildrenCopyExceptSkipped
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
createRun@NotNull public @NotNull AbstractActivityRun<?,?, createRun?> (ActivityBasedTaskRun taskRun, OperationResult result) Creates and sets the activity run (run).
- 
doesTaskExecuteTreeRootActivity
- 
getChild- Throws:
- SchemaException
 
- 
initializeChildrenMapIfNeeded- Throws:
- SchemaException
 
- 
isRootpublic boolean isRoot()Is this activity the (global) root of the activity tree?
- 
isLocalRootpublic boolean isLocalRoot()Is this activity the local root i.e. root of run in the current task?
- 
toString
- 
getPath
- 
getLocalPath
- 
getErrorHandlingStrategy
- 
accept
- 
isSkippedpublic boolean isSkipped()
- 
getExecutionMode
 
-