Record Class Localization.Command.Exception
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Exception
- Enclosing class:
Localization.Command
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparseBooleanrecord component.Returns the value of theparseNumberrecord component.Returns the value of theparseStringrecord component.Returns the value of theparseUnknownrecord component.Returns the value of thepermissionrecord component.syntax()Returns the value of thesyntaxrecord component.final StringtoString()Returns a string representation of this record class.withExecution(String execution) withParseBoolean(String parseBoolean) withParseNumber(String parseNumber) withParseString(String parseString) withParseUnknown(String parseUnknown) withPermission(String permission) withSyntax(String syntax)
-
Constructor Details
-
Exception
public Exception(String execution, String parseUnknown, String parseBoolean, String parseNumber, String parseString, String permission, String syntax) Creates an instance of aExceptionrecord class.- Parameters:
execution- the value for theexecutionrecord componentparseUnknown- the value for theparseUnknownrecord componentparseBoolean- the value for theparseBooleanrecord componentparseNumber- the value for theparseNumberrecord componentparseString- the value for theparseStringrecord componentpermission- the value for thepermissionrecord componentsyntax- the value for thesyntaxrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withExecution
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withParseUnknown
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withParseBoolean
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withParseNumber
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withParseString
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPermission
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSyntax
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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). -
execution
Returns the value of theexecutionrecord component.- Returns:
- the value of the
executionrecord component
-
parseUnknown
Returns the value of theparseUnknownrecord component.- Returns:
- the value of the
parseUnknownrecord component
-
parseBoolean
Returns the value of theparseBooleanrecord component.- Returns:
- the value of the
parseBooleanrecord component
-
parseNumber
Returns the value of theparseNumberrecord component.- Returns:
- the value of the
parseNumberrecord component
-
parseString
Returns the value of theparseStringrecord component.- Returns:
- the value of the
parseStringrecord component
-
permission
Returns the value of thepermissionrecord component.- Returns:
- the value of the
permissionrecord component
-
syntax
Returns the value of thesyntaxrecord component.- Returns:
- the value of the
syntaxrecord component
-