Record Class EventTreeSettings
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.event.api.actions.treeexport.EventTreeSettings
public record EventTreeSettings(CheckedConsumer<Consumer<InputStream>> fileStreamSupplier, Map<String,Boolean> configs)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionEventTreeSettings(CheckedConsumer<Consumer<InputStream>> fileStreamSupplier, Map<String, Boolean> configs) Creates an instance of aEventTreeSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionconfigs()Returns the value of theconfigsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileStreamSupplierrecord component.final inthashCode()Returns a hash code value for this object.booleanisConfigSet(String id) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EventTreeSettings
public EventTreeSettings(CheckedConsumer<Consumer<InputStream>> fileStreamSupplier, Map<String, Boolean> configs) Creates an instance of aEventTreeSettingsrecord class.- Parameters:
fileStreamSupplier- the value for thefileStreamSupplierrecord componentconfigs- the value for theconfigsrecord component
-
-
Method Details
-
isConfigSet
-
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). -
fileStreamSupplier
Returns the value of thefileStreamSupplierrecord component.- Returns:
- the value of the
fileStreamSupplierrecord component
-
configs
-