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>
-
-
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 CandidateIdentifierFormatter
getCandidateIdentifierFormatter()
AH
getHandler()
protected @NotNull ActivityRunSupplier<WD,AH>
getLocalRunSupplier()
@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, getIdentifier, getLocalPath, getPath, getReportingDefinition, getRun, getTree, getWorkDefinition, initializeChildrenMapIfNeeded, isLocalRoot, isRoot, isSkipped, setIdentifier, 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)!
-
getHandler
@NotNull public AH getHandler()
- Specified by:
getHandler
in classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
getLocalRunSupplier
@NotNull protected @NotNull ActivityRunSupplier<WD,AH> getLocalRunSupplier()
- Specified by:
getLocalRunSupplier
in classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
getCandidateIdentifierFormatter
@NotNull protected @NotNull CandidateIdentifierFormatter getCandidateIdentifierFormatter()
- Specified by:
getCandidateIdentifierFormatter
in classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
getActivityStateDefinition
@NotNull public @NotNull ActivityStateDefinition<?> getActivityStateDefinition()
- Specified by:
getActivityStateDefinition
in classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
getParent
@NotNull public @NotNull Activity<WD,AH> getParent()
- Specified by:
getParent
in classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
getPreRunnable
@Nullable public @Nullable PreRunnable<WD,AH> getPreRunnable()
-
-