Record Class EventLogicCopyService.ConfigurationPath
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.event.api.actions.logiccopy.EventLogicCopyService.ConfigurationPath
- Enclosing class:
EventLogicCopyService
-
Constructor Summary
ConstructorDescriptionConfigurationPath
(String path, String label, boolean defaultValue) Creates an instance of aConfigurationPath
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the value of thedefaultValue
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.label()
Returns the value of thelabel
record component.path()
Returns the value of thepath
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ConfigurationPath
Creates an instance of aConfigurationPath
record class.- Parameters:
path
- the value for thepath
record componentlabel
- the value for thelabel
record componentdefaultValue
- the value for thedefaultValue
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
label
Returns the value of thelabel
record component.- Returns:
- the value of the
label
record component
-
defaultValue
public boolean defaultValue()Returns the value of thedefaultValue
record component.- Returns:
- the value of the
defaultValue
record component
-