Record Class RasterReclassifyRequest

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

public record RasterReclassifyRequest(String taskName, Path inputRaster, Path outputRaster, double noData, List<Double> breaks) extends Record implements GeoToolsOperationRequest
  • Constructor Details

    • RasterReclassifyRequest

      public RasterReclassifyRequest(String taskName, Path inputRaster, Path outputRaster, double noData, List<Double> breaks)
      Creates an instance of a RasterReclassifyRequest record class.
      Parameters:
      taskName - the value for the taskName record component
      inputRaster - the value for the inputRaster record component
      outputRaster - the value for the outputRaster record component
      noData - the value for the noData record component
      breaks - the value for the breaks 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
    • outputRaster

      public Path outputRaster()
      Returns the value of the outputRaster record component.
      Returns:
      the value of the outputRaster record component
    • noData

      public double noData()
      Returns the value of the noData record component.
      Returns:
      the value of the noData record component
    • breaks

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