Class StatisticsUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.statistics.StatisticsUtil
-
public class StatisticsUtil extends Object
- Author:
- Pavol Mederly
-
-
Constructor Summary
Constructors Constructor Description StatisticsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addTo(OperationStatsType aggregate, OperationStatsType increment)
static String
format(OperationStatsType statistics)
static <O extends ObjectType>
StringgetDisplayName(PrismObject<O> object)
static String
getDisplayName(ShadowType shadow)
static QName
getObjectType(ObjectType objectType, PrismContext prismContext)
static boolean
isEmpty(EnvironmentalPerformanceInformationType info)
static boolean
isEmpty(MappingsStatisticsType mappingsStatistics)
static boolean
isEmpty(NotificationsStatisticsType notificationsStatistics)
static boolean
isEmpty(ProvisioningStatisticsType provisioningStatistics)
static OperationStatsType
sum(OperationStatsType a, OperationStatsType b)
-
-
-
Method Detail
-
getDisplayName
public static String getDisplayName(ShadowType shadow)
-
getDisplayName
public static <O extends ObjectType> String getDisplayName(PrismObject<O> object)
-
getObjectType
public static QName getObjectType(ObjectType objectType, PrismContext prismContext)
-
isEmpty
public static boolean isEmpty(EnvironmentalPerformanceInformationType info)
-
isEmpty
public static boolean isEmpty(NotificationsStatisticsType notificationsStatistics)
-
isEmpty
public static boolean isEmpty(MappingsStatisticsType mappingsStatistics)
-
isEmpty
public static boolean isEmpty(ProvisioningStatisticsType provisioningStatistics)
-
addTo
public static void addTo(@NotNull OperationStatsType aggregate, @Nullable OperationStatsType increment)
-
sum
public static OperationStatsType sum(OperationStatsType a, OperationStatsType b)
-
format
public static String format(OperationStatsType statistics)
-
-