Package org.aksw.iguana.cc.suite
Record Class Suite.Config
java.lang.Object
java.lang.Record
org.aksw.iguana.cc.suite.Suite.Config
- Enclosing class:
- Suite
public static record Suite.Config(List<DatasetConfig> datasets, List<ConnectionConfig> connections, List<Task.Config> tasks, List<StorageConfig> storages, List<Metric> metrics, List<ResponseBodyProcessor.Config> responseBodyProcessors)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConfig(List<DatasetConfig> datasets, List<ConnectionConfig> connections, List<Task.Config> tasks, List<StorageConfig> storages, List<Metric> metrics, List<ResponseBodyProcessor.Config> responseBodyProcessors) Creates an instance of aConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionsrecord component.datasets()Returns the value of thedatasetsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metrics()Returns the value of themetricsrecord component.Returns the value of theresponseBodyProcessorsrecord component.storages()Returns the value of thestoragesrecord component.tasks()Returns the value of thetasksrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Config
public Config(List<DatasetConfig> datasets, List<ConnectionConfig> connections, List<Task.Config> tasks, List<StorageConfig> storages, List<Metric> metrics, List<ResponseBodyProcessor.Config> responseBodyProcessors) Creates an instance of aConfigrecord class.- Parameters:
datasets- the value for thedatasetsrecord componentconnections- the value for theconnectionsrecord componenttasks- the value for thetasksrecord componentstorages- the value for thestoragesrecord componentmetrics- the value for themetricsrecord componentresponseBodyProcessors- the value for theresponseBodyProcessorsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
datasets
Returns the value of thedatasetsrecord component.- Returns:
- the value of the
datasetsrecord component
-
connections
Returns the value of theconnectionsrecord component.- Returns:
- the value of the
connectionsrecord component
-
tasks
Returns the value of thetasksrecord component.- Returns:
- the value of the
tasksrecord component
-
storages
Returns the value of thestoragesrecord component.- Returns:
- the value of the
storagesrecord component
-
metrics
Returns the value of themetricsrecord component.- Returns:
- the value of the
metricsrecord component
-
responseBodyProcessors
Returns the value of theresponseBodyProcessorsrecord component.- Returns:
- the value of the
responseBodyProcessorsrecord component
-