Class ActivityProgressUtil
java.lang.Object
com.evolveum.midpoint.schema.util.task.ActivityProgressUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTo(@NotNull ActivityProgressType sum, @NotNull ActivityProgressType delta) static Stringformat(@Nullable ActivityProgressType progress) static intgetCurrentErrors(ActivityProgressType progress) static intgetCurrentErrors(TaskType localTask, ActivityPath activityPath) static intgetCurrentProgress(@NotNull Collection<ActivityStateType> states) static intgetCurrentProgress(ActivityProgressType progress) static intgetCurrentProgress(TaskType localTask, ActivityPath activityPath) static intgetProgressForOutcome(ActivityProgressType info, ItemProcessingOutcomeType outcome, boolean open) static ItemsProgressOverviewTypegetProgressOverview(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
-