Class ValidationResult
- java.lang.Object
-
- com.evolveum.midpoint.model.api.validator.ValidationResult
-
public class ValidationResult extends Object
-
-
Constructor Summary
Constructors Constructor Description ValidationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Issue.Severity severity, @NotNull String category, @NotNull String code, @NotNull String text, @Nullable ObjectReferenceType objectRef, @Nullable ItemPath itemPath)
@NotNull List<Issue>
getIssues()
boolean
hasIssues()
boolean
hasIssuesOfAtLeast(Issue.Severity severity)
ValidationResultType
toValidationResultType()
-
-
-
Method Detail
-
hasIssues
public boolean hasIssues()
-
hasIssuesOfAtLeast
public boolean hasIssuesOfAtLeast(Issue.Severity severity)
-
add
public void add(@NotNull Issue.Severity severity, @NotNull @NotNull String category, @NotNull @NotNull String code, @NotNull @NotNull String text, @Nullable @Nullable ObjectReferenceType objectRef, @Nullable @Nullable ItemPath itemPath)
-
toValidationResultType
public ValidationResultType toValidationResultType()
-
-