Record Class XsltRequest

java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.xslt.XsltRequest

public record XsltRequest(String taskName, Path xslFile, String xslResource, List<Path> xmlFiles, Path outputDirectory, String fileExtension) extends Record
  • Constructor Details

    • XsltRequest

      public XsltRequest(String taskName, Path xslFile, String xslResource, List<Path> xmlFiles, Path outputDirectory, String fileExtension)
      Creates an instance of a XsltRequest record class.
      Parameters:
      taskName - the value for the taskName record component
      xslFile - the value for the xslFile record component
      xslResource - the value for the xslResource record component
      xmlFiles - the value for the xmlFiles record component
      outputDirectory - the value for the outputDirectory record component
      fileExtension - the value for the fileExtension 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.
    • taskName

      public String taskName()
      Returns the value of the taskName record component.
      Returns:
      the value of the taskName record component
    • xslFile

      public Path xslFile()
      Returns the value of the xslFile record component.
      Returns:
      the value of the xslFile record component
    • xslResource

      public String xslResource()
      Returns the value of the xslResource record component.
      Returns:
      the value of the xslResource record component
    • xmlFiles

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

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

      public String fileExtension()
      Returns the value of the fileExtension record component.
      Returns:
      the value of the fileExtension record component