Class ActivityStateOverviewUtil
java.lang.Object
com.evolveum.midpoint.schema.util.task.ActivityStateOverviewUtil
Utilities related to the helper activity tree state overview structure (maintained in the root task).
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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) findOrCreateTaskEntry
(@NotNull ActivityStateOverviewType entry, @NotNull ObjectReferenceType taskRef) static @NotNull ActivityStateOverviewType
getOrCreateStateOverview
(@NotNull TaskType task) static @Nullable ActivityStateOverviewType
getStateOverview
(@NotNull TaskType task)
-
Field Details
-
ACTIVITY_TREE_STATE_OVERVIEW_PATH
-
-
Constructor Details
-
ActivityStateOverviewUtil
public ActivityStateOverviewUtil()
-
-
Method Details
-
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)
-