Class EmbeddedActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
- java.lang.Object
 - 
- com.evolveum.midpoint.repo.common.activity.Activity<WD,AH>
 - 
- com.evolveum.midpoint.repo.common.activity.EmbeddedActivity<WD,AH>
 
 
 
- 
- All Implemented Interfaces:
 DebugDumpable
public class EmbeddedActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>> extends Activity<WD,AH>
A sub-activity that does not have its own (explicit) definition. Typical examples are sub-activities of reconciliation, cleanup, or focus validity scan activity. 
- 
- 
Field Summary
- 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
EmbeddedActivity<WD,AH>create(@NotNull ActivityDefinition<WD> definition, @NotNull ActivityRunSupplier<WD,AH> activityRunSupplier, @Nullable PreRunnable<WD,AH> preRunnable, @NotNull CandidateIdentifierFormatter candidateIdentifierFormatter, @NotNull ActivityStateDefinition<?> activityStateDefinition, @NotNull Activity<WD,AH> parent)Creates an embedded activity.@NotNull ActivityStateDefinition<?>getActivityStateDefinition()protected @NotNull CandidateIdentifierFormattergetCandidateIdentifierFormatter()Returns objects that suggest child activity identifiers.AHgetHandler()protected @NotNull ActivityRunSupplier<WD,AH>getLocalRunSupplier()Returns objects that createAbstractActivityRunobjects for this activity.@NotNull Activity<WD,AH>getParent()@Nullable PreRunnable<WD,AH>getPreRunnable()- 
Methods inherited from class com.evolveum.midpoint.repo.common.activity.Activity
accept, createRun, debugDump, doesTaskExecuteTreeRootActivity, getChild, getChildrenCopy, getChildrenCopyExceptSkipped, getControlFlowDefinition, getDefinition, getDistributionDefinition, getErrorHandlingStrategy, getExecutionMode, getIdentifier, getLocalPath, getPath, getReportingDefinition, getRun, getTree, getWorkDefinition, initializeChildrenMapIfNeeded, isLocalRoot, isRoot, isSkipped, setLocalRoot, toString 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily 
 - 
 
 - 
 
- 
- 
Method Detail
- 
create
public static <WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>> EmbeddedActivity<WD,AH> create(@NotNull @NotNull ActivityDefinition<WD> definition, @NotNull @NotNull ActivityRunSupplier<WD,AH> activityRunSupplier, @Nullable @Nullable PreRunnable<WD,AH> preRunnable, @NotNull @NotNull CandidateIdentifierFormatter candidateIdentifierFormatter, @NotNull @NotNull ActivityStateDefinition<?> activityStateDefinition, @NotNull @NotNull Activity<WD,AH> parent)
Creates an embedded activity.- Parameters:
 definition- Definition to be used. Should be freely modifiable (typically cloned, e.g. viaActivityDefinition.cloneWithoutId())!
 
- 
getHandler
@NotNull public AH getHandler()
- Specified by:
 getHandlerin classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
 
- 
getLocalRunSupplier
@NotNull protected @NotNull ActivityRunSupplier<WD,AH> getLocalRunSupplier()
Description copied from class:ActivityReturns objects that createAbstractActivityRunobjects for this activity. It is used in cases where the activity runs locally i.e. is not delegated nor distributed. SeeActivityRunSupplier.- Specified by:
 getLocalRunSupplierin classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
 
- 
getCandidateIdentifierFormatter
@NotNull protected @NotNull CandidateIdentifierFormatter getCandidateIdentifierFormatter()
Description copied from class:ActivityReturns objects that suggest child activity identifiers.- Specified by:
 getCandidateIdentifierFormatterin classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
 
- 
getActivityStateDefinition
@NotNull public @NotNull ActivityStateDefinition<?> getActivityStateDefinition()
- Specified by:
 getActivityStateDefinitionin classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
 
- 
getParent
@NotNull public @NotNull Activity<WD,AH> getParent()
- Specified by:
 getParentin classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
 
- 
getPreRunnable
@Nullable public @Nullable PreRunnable<WD,AH> getPreRunnable()
 
 - 
 
 -