Record Class Av2chEngine.Av2chRequest

java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.av.Av2chEngine.Av2chRequest
Enclosing class:
Av2chEngine

public static record Av2chEngine.Av2chRequest(List<Path> inputFiles, Path outputDirectory, String modeldir, String language, boolean zip) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    Av2chRequest(List<Path> inputFiles, Path outputDirectory, String modeldir, String language, boolean zip)
    Creates an instance of a Av2chRequest record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the inputFiles record component.
    Returns the value of the language record component.
    Returns the value of the modeldir record component.
    Returns the value of the outputDirectory record component.
    final String
    Returns a string representation of this record class.
    boolean
    zip()
    Returns the value of the zip record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Av2chRequest

      public Av2chRequest(List<Path> inputFiles, Path outputDirectory, String modeldir, String language, boolean zip)
      Creates an instance of a Av2chRequest record class.
      Parameters:
      inputFiles - the value for the inputFiles record component
      outputDirectory - the value for the outputDirectory record component
      modeldir - the value for the modeldir record component
      language - the value for the language record component
      zip - the value for the zip 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • inputFiles

      public List<Path> inputFiles()
      Returns the value of the inputFiles record component.
      Returns:
      the value of the inputFiles record component
    • outputDirectory

      public Path outputDirectory()
      Returns the value of the outputDirectory record component.
      Returns:
      the value of the outputDirectory record component
    • modeldir

      public String modeldir()
      Returns the value of the modeldir record component.
      Returns:
      the value of the modeldir record component
    • language

      public String language()
      Returns the value of the language record component.
      Returns:
      the value of the language record component
    • zip

      public boolean zip()
      Returns the value of the zip record component.
      Returns:
      the value of the zip record component