Record Class PipelineResolverConfig
java.lang.Object
java.lang.Record
org.graylog.plugins.pipelineprocessor.processors.PipelineResolverConfig
- Record Components:
rulesSupplier- the rules stream supplierpipelinesSupplier- the pipelines stream supplierpipelineConnectionsSupplier- the pipeline connections supplier
public record PipelineResolverConfig(Supplier<Stream<RuleDao>> rulesSupplier, Supplier<Stream<PipelineDao>> pipelinesSupplier, Supplier<Stream<PipelineConnections>> pipelineConnectionsSupplier)
extends Record
Pipeline resolver configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionPipelineResolverConfig(Supplier<Stream<RuleDao>> rulesSupplier, Supplier<Stream<PipelineDao>> pipelinesSupplier, Supplier<Stream<PipelineConnections>> pipelineConnectionsSupplier) Creates an instance of aPipelineResolverConfigrecord 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.static PipelineResolverConfigstatic PipelineResolverConfigof(Supplier<Stream<RuleDao>> rulesSupplier, Supplier<Stream<PipelineDao>> pipelinesSupplier, Supplier<Stream<PipelineConnections>> pipelineConnectionsSupplier) Returns the value of thepipelineConnectionsSupplierrecord component.Returns the value of thepipelinesSupplierrecord component.Returns the value of therulesSupplierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PipelineResolverConfig
public PipelineResolverConfig(Supplier<Stream<RuleDao>> rulesSupplier, Supplier<Stream<PipelineDao>> pipelinesSupplier, Supplier<Stream<PipelineConnections>> pipelineConnectionsSupplier) Creates an instance of aPipelineResolverConfigrecord class.- Parameters:
rulesSupplier- the value for therulesSupplierrecord componentpipelinesSupplier- the value for thepipelinesSupplierrecord componentpipelineConnectionsSupplier- the value for thepipelineConnectionsSupplierrecord component
-
-
Method Details
-
of
public static PipelineResolverConfig of(Supplier<Stream<RuleDao>> rulesSupplier, Supplier<Stream<PipelineDao>> pipelinesSupplier, Supplier<Stream<PipelineConnections>> pipelineConnectionsSupplier) -
of
public static PipelineResolverConfig of(Supplier<Stream<RuleDao>> rulesSupplier, Supplier<Stream<PipelineDao>> pipelinesSupplier) -
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. All components in this record class are compared withObjects::equals(Object,Object). -
rulesSupplier
Returns the value of therulesSupplierrecord component.- Returns:
- the value of the
rulesSupplierrecord component
-
pipelinesSupplier
Returns the value of thepipelinesSupplierrecord component.- Returns:
- the value of the
pipelinesSupplierrecord component
-
pipelineConnectionsSupplier
Returns the value of thepipelineConnectionsSupplierrecord component.- Returns:
- the value of the
pipelineConnectionsSupplierrecord component
-