Record Class VectorizeRequest

java.lang.Object
java.lang.Record
ch.so.agi.gretl.geotools.internal.operations.VectorizeRequest
All Implemented Interfaces:
GeoToolsOperationRequest

public record VectorizeRequest(String taskName, Path inputRaster, Path outputGeopackage, int band, List<Double> cellValues) extends Record implements GeoToolsOperationRequest
  • Constructor Details

    • VectorizeRequest

      public VectorizeRequest(String taskName, Path inputRaster, Path outputGeopackage, int band, List<Double> cellValues)
      Creates an instance of a VectorizeRequest record class.
      Parameters:
      taskName - the value for the taskName record component
      inputRaster - the value for the inputRaster record component
      outputGeopackage - the value for the outputGeopackage record component
      band - the value for the band record component
      cellValues - the value for the cellValues record component
  • Method Details

    • operation

      public String operation()
      Specified by:
      operation in interface GeoToolsOperationRequest
    • parameters

      public Map<String,String> parameters()
      Specified by:
      parameters in interface GeoToolsOperationRequest
    • values

      public List<Double> values()
      Specified by:
      values in interface GeoToolsOperationRequest
    • 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.
    • taskName

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

      public Path inputRaster()
      Returns the value of the inputRaster record component.
      Returns:
      the value of the inputRaster record component
    • outputGeopackage

      public Path outputGeopackage()
      Returns the value of the outputGeopackage record component.
      Returns:
      the value of the outputGeopackage record component
    • band

      public int band()
      Returns the value of the band record component.
      Returns:
      the value of the band record component
    • cellValues

      public List<Double> cellValues()
      Returns the value of the cellValues record component.
      Returns:
      the value of the cellValues record component