Class ActivityTreeUtil.ActivityStateInContext
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.ActivityTreeUtil.ActivityStateInContext
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ActivityTreeUtil
public static class ActivityTreeUtil.ActivityStateInContext extends Object implements Serializable
Activity state with all the necessary context: the path, the task, and the partial states of coordinated workers. Maybe we should find better name.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ActivityPath
getActivityPath()
@Nullable ActivityStateType
getActivityState()
@NotNull List<ActivityStateType>
getAllStates()
@NotNull Stream<ActivityStateType>
getAllStatesStream()
@NotNull TaskType
getTask()
@Nullable List<ActivityStateType>
getWorkerStates()
boolean
isCoordinator()
String
toString()
-
-
-
Method Detail
-
getActivityPath
@NotNull public @NotNull ActivityPath getActivityPath()
-
getActivityState
@Nullable public @Nullable ActivityStateType getActivityState()
-
getWorkerStates
@Nullable public @Nullable List<ActivityStateType> getWorkerStates()
-
getTask
@NotNull public @NotNull TaskType getTask()
-
getAllStates
@NotNull public @NotNull List<ActivityStateType> getAllStates()
-
getAllStatesStream
@NotNull public @NotNull Stream<ActivityStateType> getAllStatesStream()
-
isCoordinator
public boolean isCoordinator()
-
-