Class ShadowStatistics
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.integrity.shadows.ShadowStatistics
-
public class ShadowStatistics extends Object
Summary report from shadow checking task run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowStatistics.Counts
-
Field Summary
Fields Modifier and Type Field Description static StringCANNOT_APPLY_FIXstatic StringCANNOT_FETCH_RESOURCE_OBJECTstatic StringCANNOT_GET_REFINED_SCHEMAstatic StringCANNOT_GET_RESOURCEstatic StringDUPLICATE_SHADOWSstatic StringEXTRA_ACTIVATION_DATAstatic StringLINKED_WITH_NO_OWNERstatic StringMULTIPLE_OWNERSstatic StringNO_INTENT_SPECIFIEDstatic StringNO_KIND_SPECIFIEDstatic StringNO_OBJECT_CLASS_REFINED_SCHEMAstatic StringNO_OBJECT_CLASS_SPECIFIEDstatic StringNO_RESOURCEstatic StringNO_RESOURCE_OIDstatic StringNO_RESOURCE_REFINED_SCHEMAstatic StringNON_NORMALIZED_IDENTIFIER_VALUEstatic StringNOT_LINKED_WITH_OWNERstatic StringOTHER_FAILURE
-
Constructor Summary
Constructors Constructor Description ShadowStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetailsFormatted(boolean dryRun)intgetResources()intgetShadows()intgetShadowsWithErrors()intgetShadowsWithWarnings()intgetUnfinishedShadows()voidincrementResources()voidincrementShadows()voidincrementShadowsWithErrors()voidincrementShadowsWithWarnings()voidincrementUnfinishedShadows()voidregisterProblemCodeOccurrences(List<String> problemCodes)voidregisterProblemsFixes(List<String> problemCodesFixed)voidsetResources(int resources)voidsetShadows(int shadows)voidsetShadowsWithErrors(int shadowsWithErrors)voidsetShadowsWithWarnings(int shadowsWithWarnings)voidsetUnfinishedShadows(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)
-
-