Class OperationResultUtil
java.lang.Object
com.evolveum.midpoint.schema.util.OperationResultUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OperationResultStatus
aggregateFinishedResults
(@NotNull Collection<OperationResultStatus> statuses) Aggregates results, taking into accounts only "finished" ones, i.e.static boolean
isError
(OperationResultStatusType status) static boolean
static OperationResultType
shallowClone
(OperationResultType result, boolean subresults, boolean traces, boolean log)
-
Constructor Details
-
OperationResultUtil
public OperationResultUtil()
-
-
Method Details
-
shallowClone
public static OperationResultType shallowClone(OperationResultType result, boolean subresults, boolean traces, boolean log) -
isSuccessful
-
isError
-
aggregateFinishedResults
public static OperationResultStatus aggregateFinishedResults(@NotNull @NotNull Collection<OperationResultStatus> statuses) Aggregates results, taking into accounts only "finished" ones, i.e. no "not available", "in progress", nor "unknown". TODO reconsider this
-