Class ActivityProgressUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.ActivityProgressUtil
-
public class ActivityProgressUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ActivityProgressUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
getCurrentProgress
public static int getCurrentProgress(TaskType localTask, ActivityPath activityPath)
-
getCurrentErrors
public static int getCurrentErrors(TaskType localTask, ActivityPath activityPath)
-
getCurrentProgress
public static int getCurrentProgress(ActivityProgressType progress)
-
getCurrentErrors
public static int getCurrentErrors(ActivityProgressType progress)
-
getProgressOverview
@Contract("null -> null; !null -> !null") public static ItemsProgressOverviewType getProgressOverview(ActivityProgressType progress)
-
getCurrentProgress
public static int getCurrentProgress(@NotNull @NotNull Collection<ActivityStateType> states)
-
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
public static String format(@Nullable @Nullable ActivityProgressType progress)
-
-