Class Issue
- java.lang.Object
-
- com.evolveum.midpoint.model.api.validator.Issue
-
- All Implemented Interfaces:
Serializable
public class Issue extends Object implements Serializable
- Author:
- mederly
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Issue.Severity
-
Constructor Summary
Constructors Constructor Description Issue(Issue.Severity severity, String category, String code, String text, ObjectReferenceType objectRef, ItemPath itemPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategory()
String
getCode()
ItemPath
getItemPath()
ObjectReferenceType
getObjectRef()
Issue.Severity
getSeverity()
static Issue.Severity
getSeverity(List<Issue> issues)
String
getText()
boolean
hasSeverityAtLeast(Issue.Severity severity)
ValidationIssueType
toValidationIssueType()
-
-
-
Constructor Detail
-
Issue
public Issue(@NotNull Issue.Severity severity, @NotNull String category, @NotNull String code, @NotNull String text, ObjectReferenceType objectRef, ItemPath itemPath)
-
-
Method Detail
-
getSeverity
@NotNull public Issue.Severity getSeverity()
-
getCategory
@NotNull public String getCategory()
-
getCode
@NotNull public String getCode()
-
getText
@NotNull public String getText()
-
getObjectRef
@Nullable public ObjectReferenceType getObjectRef()
-
getItemPath
@Nullable public ItemPath getItemPath()
-
hasSeverityAtLeast
public boolean hasSeverityAtLeast(@NotNull Issue.Severity severity)
-
getSeverity
@Nullable public static Issue.Severity getSeverity(List<Issue> issues)
-
toValidationIssueType
public ValidationIssueType toValidationIssueType()
-
-