Class ShadowStatistics
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.integrity.ShadowStatistics
-
public class ShadowStatistics extends Object
Summary report from shadow checking task run.- Author:
- Pavol Mederly
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowStatistics.Counts
-
Field Summary
Fields Modifier and Type Field Description static String
CANNOT_APPLY_FIX
static String
CANNOT_FETCH_RESOURCE_OBJECT
static String
CANNOT_GET_REFINED_SCHEMA
static String
CANNOT_GET_RESOURCE
static String
DUPLICATE_SHADOWS
static String
EXTRA_ACTIVATION_DATA
static String
LINKED_WITH_NO_OWNER
static String
MULTIPLE_OWNERS
static String
NO_INTENT_SPECIFIED
static String
NO_KIND_SPECIFIED
static String
NO_OBJECT_CLASS_REFINED_SCHEMA
static String
NO_OBJECT_CLASS_SPECIFIED
static String
NO_RESOURCE
static String
NO_RESOURCE_OID
static String
NO_RESOURCE_REFINED_SCHEMA
static String
NON_NORMALIZED_IDENTIFIER_VALUE
static String
NOT_LINKED_WITH_OWNER
static String
OTHER_FAILURE
-
Constructor Summary
Constructors Constructor Description ShadowStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDetailsFormatted(boolean dryRun)
int
getResources()
int
getShadows()
int
getShadowsWithErrors()
int
getShadowsWithWarnings()
int
getUnfinishedShadows()
void
incrementResources()
void
incrementShadows()
void
incrementShadowsWithErrors()
void
incrementShadowsWithWarnings()
void
incrementUnfinishedShadows()
void
registerProblemCodeOccurrences(List<String> problemCodes)
void
registerProblemsFixes(List<String> problemCodesFixed)
void
setResources(int resources)
void
setShadows(int shadows)
void
setShadowsWithErrors(int shadowsWithErrors)
void
setShadowsWithWarnings(int shadowsWithWarnings)
void
setUnfinishedShadows(int unfinishedShadows)
-
-
-
Field Detail
-
NON_NORMALIZED_IDENTIFIER_VALUE
public static final String NON_NORMALIZED_IDENTIFIER_VALUE
- See Also:
- Constant Field Values
-
DUPLICATE_SHADOWS
public static final String DUPLICATE_SHADOWS
- See Also:
- Constant Field Values
-
NO_RESOURCE_OID
public static final String NO_RESOURCE_OID
- See Also:
- Constant Field Values
-
NO_RESOURCE
public static final String NO_RESOURCE
- See Also:
- Constant Field Values
-
CANNOT_GET_RESOURCE
public static final String CANNOT_GET_RESOURCE
- See Also:
- Constant Field Values
-
NO_OBJECT_CLASS_SPECIFIED
public static final String NO_OBJECT_CLASS_SPECIFIED
- See Also:
- Constant Field Values
-
NO_KIND_SPECIFIED
public static final String NO_KIND_SPECIFIED
- See Also:
- Constant Field Values
-
NO_INTENT_SPECIFIED
public static final String NO_INTENT_SPECIFIED
- See Also:
- Constant Field Values
-
NO_RESOURCE_REFINED_SCHEMA
public static final String NO_RESOURCE_REFINED_SCHEMA
- See Also:
- Constant Field Values
-
CANNOT_GET_REFINED_SCHEMA
public static final String CANNOT_GET_REFINED_SCHEMA
- See Also:
- Constant Field Values
-
NO_OBJECT_CLASS_REFINED_SCHEMA
public static final String NO_OBJECT_CLASS_REFINED_SCHEMA
- See Also:
- Constant Field Values
-
OTHER_FAILURE
public static final String OTHER_FAILURE
- See Also:
- Constant Field Values
-
CANNOT_APPLY_FIX
public static final String CANNOT_APPLY_FIX
- See Also:
- Constant Field Values
-
CANNOT_FETCH_RESOURCE_OBJECT
public static final String CANNOT_FETCH_RESOURCE_OBJECT
- See Also:
- Constant Field Values
-
MULTIPLE_OWNERS
public static final String MULTIPLE_OWNERS
- See Also:
- Constant Field Values
-
LINKED_WITH_NO_OWNER
public static final String LINKED_WITH_NO_OWNER
- See Also:
- Constant Field Values
-
NOT_LINKED_WITH_OWNER
public static final String NOT_LINKED_WITH_OWNER
- See Also:
- Constant Field Values
-
EXTRA_ACTIVATION_DATA
public static final String EXTRA_ACTIVATION_DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
incrementResources
public void incrementResources()
-
incrementShadows
public void incrementShadows()
-
incrementShadowsWithErrors
public void incrementShadowsWithErrors()
-
incrementShadowsWithWarnings
public void incrementShadowsWithWarnings()
-
incrementUnfinishedShadows
public void incrementUnfinishedShadows()
-
getResources
public int getResources()
-
setResources
public void setResources(int resources)
-
getShadows
public int getShadows()
-
setShadows
public void setShadows(int shadows)
-
getShadowsWithErrors
public int getShadowsWithErrors()
-
setShadowsWithErrors
public void setShadowsWithErrors(int shadowsWithErrors)
-
getShadowsWithWarnings
public int getShadowsWithWarnings()
-
setShadowsWithWarnings
public void setShadowsWithWarnings(int shadowsWithWarnings)
-
getUnfinishedShadows
public int getUnfinishedShadows()
-
setUnfinishedShadows
public void setUnfinishedShadows(int unfinishedShadows)
-
registerProblemCodeOccurrences
public void registerProblemCodeOccurrences(List<String> problemCodes)
-
getDetailsFormatted
public String getDetailsFormatted(boolean dryRun)
-
-