Class ActivityProgressUtil
java.lang.Object
com.evolveum.midpoint.schema.util.task.ActivityProgressUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addTo
(@NotNull ActivityProgressType sum, @NotNull ActivityProgressType delta) static String
format
(@Nullable ActivityProgressType progress) static int
getCurrentErrors
(ActivityProgressType progress) static int
getCurrentErrors
(TaskType localTask, ActivityPath activityPath) static int
getCurrentProgress
(@NotNull Collection<ActivityStateType> states) static int
getCurrentProgress
(ActivityProgressType progress) static int
getCurrentProgress
(TaskType localTask, ActivityPath activityPath) static int
getProgressForOutcome
(ActivityProgressType info, ItemProcessingOutcomeType outcome, boolean open) static ItemsProgressOverviewType
getProgressOverview
(ActivityProgressType progress)
-
Constructor Details
-
ActivityProgressUtil
public ActivityProgressUtil()
-
-
Method Details
-
getCurrentProgress
-
getCurrentErrors
-
getCurrentProgress
-
getCurrentErrors
-
getProgressOverview
@Contract("null -> null; !null -> !null") public static ItemsProgressOverviewType getProgressOverview(ActivityProgressType progress) -
getCurrentProgress
-
getProgressForOutcome
public static int getProgressForOutcome(ActivityProgressType info, ItemProcessingOutcomeType outcome, boolean open) -
addTo
public static void addTo(@NotNull @NotNull ActivityProgressType sum, @NotNull @NotNull ActivityProgressType delta) -
format
-