Class ShadowCheckResult
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.integrity.shadows.ShadowCheckResult
-
public class ShadowCheckResult extends Object
Result of checking a particular shadow.- Author:
- Pavol Mederly
-
-
Constructor Summary
Constructors Constructor Description ShadowCheckResult(PrismObject<ShadowType> shadow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFixDelta(PropertyDelta delta, String fixIsForProblem)
List<Exception>
getErrors()
List<ItemDelta<?,?>>
getFixDeltas()
List<String>
getFixForProblems()
List<String>
getProblemCodes()
PrismObject<ResourceType>
getResource()
PrismObject<ShadowType>
getShadow()
List<String>
getWarnings()
boolean
isFixApplied()
boolean
isFixByRemovingShadow()
ShadowCheckResult
recordError(String problemCode, Exception e)
ShadowCheckResult
recordWarning(String problemCode, String message)
void
setErrors(List<Exception> errors)
void
setFixApplied(boolean fixApplied)
void
setFixByRemovingShadow(String fixIsForProblem)
void
setResource(PrismObject<ResourceType> resource)
void
setShadow(PrismObject<ShadowType> shadow)
void
setWarnings(List<String> warnings)
-
-
-
Constructor Detail
-
ShadowCheckResult
public ShadowCheckResult(PrismObject<ShadowType> shadow)
-
-
Method Detail
-
recordError
public ShadowCheckResult recordError(String problemCode, Exception e)
-
recordWarning
public ShadowCheckResult recordWarning(String problemCode, String message)
-
getShadow
public PrismObject<ShadowType> getShadow()
-
setShadow
public void setShadow(PrismObject<ShadowType> shadow)
-
getResource
public PrismObject<ResourceType> getResource()
-
setResource
public void setResource(PrismObject<ResourceType> resource)
-
addFixDelta
public void addFixDelta(PropertyDelta delta, String fixIsForProblem)
-
isFixByRemovingShadow
public boolean isFixByRemovingShadow()
-
setFixByRemovingShadow
public void setFixByRemovingShadow(String fixIsForProblem)
-
isFixApplied
public boolean isFixApplied()
-
setFixApplied
public void setFixApplied(boolean fixApplied)
-
-