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 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 a Config record class.
      Parameters:
      datasets - the value for the datasets record component
      connections - the value for the connections record component
      tasks - the value for the tasks record component
      storages - the value for the storages record component
      metrics - the value for the metrics record component
      responseBodyProcessors - the value for the responseBodyProcessors record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • datasets

      public List<DatasetConfig> datasets()
      Returns the value of the datasets record component.
      Returns:
      the value of the datasets record component
    • connections

      public List<ConnectionConfig> connections()
      Returns the value of the connections record component.
      Returns:
      the value of the connections record component
    • tasks

      public List<Task.Config> tasks()
      Returns the value of the tasks record component.
      Returns:
      the value of the tasks record component
    • storages

      public List<StorageConfig> storages()
      Returns the value of the storages record component.
      Returns:
      the value of the storages record component
    • metrics

      public List<Metric> metrics()
      Returns the value of the metrics record component.
      Returns:
      the value of the metrics record component
    • responseBodyProcessors

      public List<ResponseBodyProcessor.Config> responseBodyProcessors()
      Returns the value of the responseBodyProcessors record component.
      Returns:
      the value of the responseBodyProcessors record component