Class StandaloneActivity<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.StandaloneActivity<WD,AH>
-
- All Implemented Interfaces:
DebugDumpable
public class StandaloneActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>> extends Activity<WD,AH>
This is an activity that can be instantiated in standalone way (i.e. as a root). It has to have a handler.
-
-
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>>
StandaloneActivity<WD,AH>createNonRoot(@NotNull ActivityDefinition<WD> definition, AH handler, @NotNull Activity<?,?> parent)
@NotNull ActivityStateDefinition<?>
getActivityStateDefinition()
protected @NotNull CandidateIdentifierFormatter
getCandidateIdentifierFormatter()
Returns objects that suggest child activity identifiers.AH
getHandler()
protected @NotNull ActivityRunSupplier<WD,AH>
getLocalRunSupplier()
Returns objects that createAbstractActivityRun
objects for this activity.Activity<?,?>
getParent()
-
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
-
createNonRoot
public static <WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>> StandaloneActivity<WD,AH> createNonRoot(@NotNull @NotNull ActivityDefinition<WD> definition, @NotNull AH handler, @NotNull @NotNull Activity<?,?> parent)
-
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()
Description copied from class:Activity
Returns objects that createAbstractActivityRun
objects for this activity. It is used in cases where the activity runs locally i.e. is not delegated nor distributed. SeeActivityRunSupplier
.- Specified by:
getLocalRunSupplier
in classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
getCandidateIdentifierFormatter
@NotNull protected @NotNull CandidateIdentifierFormatter getCandidateIdentifierFormatter()
Description copied from class:Activity
Returns objects that suggest child activity identifiers.- 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
public Activity<?,?> getParent()
- Specified by:
getParent
in classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
-