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
ConstructorsConstructorDescriptionConfigurationPath(String path, String label, boolean defaultValue) Creates an instance of aConfigurationPathrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thedefaultValuerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigurationPath
Creates an instance of aConfigurationPathrecord class.- Parameters:
path- the value for thepathrecord componentlabel- the value for thelabelrecord componentdefaultValue- the value for thedefaultValuerecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
defaultValue
public boolean defaultValue()Returns the value of thedefaultValuerecord component.- Returns:
- the value of the
defaultValuerecord component
-