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()
AH
getHandler()
protected @NotNull ActivityRunSupplier<WD,AH>
getLocalRunSupplier()
Activity<?,?>
getParent()
-
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
-
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()
- 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
public Activity<?,?> getParent()
- Specified by:
getParent
in classActivity<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
-