Class ActivityTree
java.lang.Object
com.evolveum.midpoint.repo.common.activity.ActivityTree
- All Implemented Interfaces:
DebugDumpable
Represents the tree of activities that comprise a logical task.
Basically, binds together the root activity (
StandaloneActivity
) and the dynamic object representing
the state of the whole tree (ActivityTreeStateOverview
).-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActivityTree
debugDump
(int indent) @NotNull Activity<?,
?> getActivity
(ActivityPath path) @NotNull CommonTaskBeans
getBeans()
@NotNull Activity<?,
?> @NotNull ActivityTreeStateOverview
void
purgeState
(ActivityBasedTaskRun taskRun, OperationResult result) Purges the activity state (usually before new realization).toString()
void
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 Details
-
create
-
getRootActivity
-
getBeans
-
toString
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
getActivity
- Throws:
SchemaException
-
getTreeStateOverview
-
getRealizationState
-
updateRealizationState
public void updateRealizationState(ActivityTreeRealizationStateType value, OperationResult result) throws ActivityRunException - Throws:
ActivityRunException
-
purgeState
public void purgeState(ActivityBasedTaskRun taskRun, OperationResult result) throws ActivityRunException Purges the activity state (usually before new realization).- Throws:
ActivityRunException
-