Class ActivityStateOverviewUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.ActivityStateOverviewUtil
-
public class ActivityStateOverviewUtil extends Object
Utilities related to the helper activity tree state overview structure (maintained in the root task).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ActivityStateOverviewUtil.StateOverviewVisitor
-
Field Summary
Fields Modifier and Type Field Description static ItemPath
ACTIVITY_TREE_STATE_OVERVIEW_PATH
-
Constructor Summary
Constructors Constructor Description ActivityStateOverviewUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
acceptStateOverviewVisitor(@NotNull ActivityStateOverviewType state, @NotNull ActivityStateOverviewUtil.StateOverviewVisitor visitor)
static @Nullable ActivityStateOverviewType
findEntry(@NotNull ActivityStateOverviewType current, @NotNull ActivityPath path)
static @Nullable ActivityStateOverviewType
findOrCreateChildEntry(@NotNull ActivityStateOverviewType current, String identifier, boolean create)
static @NotNull ActivityStateOverviewType
findOrCreateEntry(@NotNull ActivityStateOverviewType current, @NotNull ActivityPath path)
static ActivityTaskStateOverviewType
findOrCreateTaskEntry(@NotNull ActivityStateOverviewType entry, @NotNull ObjectReferenceType taskRef)
static @NotNull ActivityStateOverviewType
getOrCreateStateOverview(@NotNull TaskType task)
static @Nullable ActivityStateOverviewType
getStateOverview(@NotNull TaskType task)
-
-
-
Field Detail
-
ACTIVITY_TREE_STATE_OVERVIEW_PATH
public static final ItemPath ACTIVITY_TREE_STATE_OVERVIEW_PATH
-
-
Method Detail
-
findOrCreateEntry
@NotNull public static @NotNull ActivityStateOverviewType findOrCreateEntry(@NotNull @NotNull ActivityStateOverviewType current, @NotNull @NotNull ActivityPath path)
-
findEntry
@Nullable public static @Nullable ActivityStateOverviewType findEntry(@NotNull @NotNull ActivityStateOverviewType current, @NotNull @NotNull ActivityPath path)
-
findOrCreateChildEntry
@Contract("_, _, true -> !null") @Nullable public static @Nullable ActivityStateOverviewType findOrCreateChildEntry(@NotNull @NotNull ActivityStateOverviewType current, String identifier, boolean create)
-
getOrCreateStateOverview
@NotNull public static @NotNull ActivityStateOverviewType getOrCreateStateOverview(@NotNull @NotNull TaskType task)
-
getStateOverview
@Nullable public static @Nullable ActivityStateOverviewType getStateOverview(@NotNull @NotNull TaskType task)
-
findOrCreateTaskEntry
public static ActivityTaskStateOverviewType findOrCreateTaskEntry(@NotNull @NotNull ActivityStateOverviewType entry, @NotNull @NotNull ObjectReferenceType taskRef)
-
acceptStateOverviewVisitor
public static void acceptStateOverviewVisitor(@NotNull @NotNull ActivityStateOverviewType state, @NotNull @NotNull ActivityStateOverviewUtil.StateOverviewVisitor visitor)
-
-