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(@NotNull Issue.Severity severity, @NotNull String category, @NotNull String code, @NotNull String text, ObjectReferenceType objectRef, ItemPath itemPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getCategory()
@NotNull String
getCode()
@Nullable ItemPath
getItemPath()
@Nullable ObjectReferenceType
getObjectRef()
@NotNull Issue.Severity
getSeverity()
static @Nullable Issue.Severity
getSeverity(List<Issue> issues)
@NotNull String
getText()
boolean
hasSeverityAtLeast(@NotNull Issue.Severity severity)
ValidationIssueType
toValidationIssueType()
-
-
-
Constructor Detail
-
Issue
public Issue(@NotNull @NotNull Issue.Severity severity, @NotNull @NotNull String category, @NotNull @NotNull String code, @NotNull @NotNull String text, ObjectReferenceType objectRef, ItemPath itemPath)
-
-
Method Detail
-
getSeverity
@NotNull public @NotNull Issue.Severity getSeverity()
-
getCategory
@NotNull public @NotNull String getCategory()
-
getCode
@NotNull public @NotNull String getCode()
-
getText
@NotNull public @NotNull String getText()
-
getObjectRef
@Nullable public @Nullable ObjectReferenceType getObjectRef()
-
getItemPath
@Nullable public @Nullable ItemPath getItemPath()
-
hasSeverityAtLeast
public boolean hasSeverityAtLeast(@NotNull @NotNull Issue.Severity severity)
-
getSeverity
@Nullable public static @Nullable Issue.Severity getSeverity(List<Issue> issues)
-
toValidationIssueType
public ValidationIssueType toValidationIssueType()
-
-