Class GeoprocessingRaster
- java.lang.Object
 - 
- com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingParameter
 - 
- com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingDataFile
 - 
- com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingRaster
 
 
 
 
- 
- All Implemented Interfaces:
 RemoteResource
public final class GeoprocessingRaster extends GeoprocessingDataFile
Corresponds to GPRasterData and GPRasterDataLayer parameter types in the service REST specification.- Since:
 - 100.0.0
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingParameter
GeoprocessingParameter.Type 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GeoprocessingRaster()Creates an instance.GeoprocessingRaster(String inputUrl, String format)Creates an instance. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormat()Returns the format.voidsetFormat(String format)Sets the format.- 
Methods inherited from class com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingDataFile
fetchFileAsync, getCredential, getInputFilePath, getRequestConfiguration, getUploadId, getUrl, setCredential, setInputFilePath, setRequestConfiguration, setUploadId, setUrl 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
GeoprocessingRaster
public GeoprocessingRaster()
Creates an instance. The input url and format default to empty strings.- Since:
 - 100.0.0
 
 
- 
GeoprocessingRaster
public GeoprocessingRaster(String inputUrl, String format)
Creates an instance.- Parameters:
 inputUrl- the url of the input fileformat- the format of the raster- Throws:
 IllegalArgumentException- if inputUrl is nullIllegalArgumentException- if format is null- Since:
 - 100.0.0
 
 
 - 
 
- 
Method Detail
- 
getFormat
public String getFormat()
Returns the format. By default this is an empty string.- Returns:
 - the format
 - Since:
 - 100.0.0
 
 
- 
setFormat
public void setFormat(String format)
Sets the format.- Parameters:
 format- the format- Throws:
 IllegalArgumentException- if format is null- Since:
 - 100.0.0
 
 
 - 
 
 -