Record Class DialogueManager.ValidationIssue
java.lang.Object
java.lang.Record
io.github.kcajpanda.simpledialogue.dialogue.DialogueManager.ValidationIssue
- Enclosing class:
DialogueManager
public static record DialogueManager.ValidationIssue(DialogueManager.Severity severity, String message)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionValidationIssue(DialogueManager.Severity severity, String message) Creates an instance of aValidationIssuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.severity()Returns the value of theseverityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ValidationIssue
Creates an instance of aValidationIssuerecord class.- Parameters:
severity- the value for theseverityrecord componentmessage- the value for themessagerecord component
-
-
Method Details
-
error
-
warning
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
severity
Returns the value of theseverityrecord component.- Returns:
- the value of the
severityrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-