Record Class VectorizeRequest
java.lang.Object
java.lang.Record
ch.so.agi.gretl.geotools.internal.operations.VectorizeRequest
- All Implemented Interfaces:
GeoToolsOperationRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintband()Returns the value of thebandrecord component.Returns the value of thecellValuesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinputRasterrecord component.Returns the value of theoutputGeopackagerecord component.taskName()Returns the value of thetaskNamerecord component.final StringtoString()Returns a string representation of this record class.values()
-
Constructor Details
-
VectorizeRequest
public VectorizeRequest(String taskName, Path inputRaster, Path outputGeopackage, int band, List<Double> cellValues) Creates an instance of aVectorizeRequestrecord class.- Parameters:
taskName- the value for thetaskNamerecord componentinputRaster- the value for theinputRasterrecord componentoutputGeopackage- the value for theoutputGeopackagerecord componentband- the value for thebandrecord componentcellValues- the value for thecellValuesrecord component
-
-
Method Details
-
operation
- Specified by:
operationin interfaceGeoToolsOperationRequest
-
parameters
- Specified by:
parametersin interfaceGeoToolsOperationRequest
-
values
- Specified by:
valuesin interfaceGeoToolsOperationRequest
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
taskName
Returns the value of thetaskNamerecord component.- Returns:
- the value of the
taskNamerecord component
-
inputRaster
Returns the value of theinputRasterrecord component.- Returns:
- the value of the
inputRasterrecord component
-
outputGeopackage
Returns the value of theoutputGeopackagerecord component.- Returns:
- the value of the
outputGeopackagerecord component
-
band
public int band()Returns the value of thebandrecord component.- Returns:
- the value of the
bandrecord component
-
cellValues
Returns the value of thecellValuesrecord component.- Returns:
- the value of the
cellValuesrecord component
-