Class ActivityTree
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.ActivityTree
-
- All Implemented Interfaces:
DebugDumpable
public class ActivityTree extends Object implements DebugDumpable
Represents the tree of activities that comprise a logical task.
-
-
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 ActivityTree
create(Task rootTask, CommonTaskBeans beans)
String
debugDump(int indent)
@NotNull Activity<?,?>
getActivity(ActivityPath path)
@NotNull CommonTaskBeans
getBeans()
ActivityTreeRealizationStateType
getRealizationState()
@NotNull Activity<?,?>
getRootActivity()
@NotNull ActivityTreeStateOverview
getTreeStateOverview()
void
purgeState(ActivityBasedTaskRun taskRun, OperationResult result)
Purges the activity state (usually before new realization).String
toString()
void
updateRealizationState(ActivityTreeRealizationStateType value, OperationResult result)
-
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 ActivityTree create(Task rootTask, CommonTaskBeans beans) throws SchemaException
- Throws:
SchemaException
-
getRootActivity
@NotNull public @NotNull Activity<?,?> getRootActivity()
-
getBeans
@NotNull public @NotNull CommonTaskBeans getBeans()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
getActivity
@NotNull public @NotNull Activity<?,?> getActivity(ActivityPath path) throws SchemaException
- Throws:
SchemaException
-
getTreeStateOverview
@NotNull public @NotNull ActivityTreeStateOverview getTreeStateOverview()
-
getRealizationState
public ActivityTreeRealizationStateType 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
-
-