Class 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
    • Constructor Detail

      • GeoprocessingRaster

        public GeoprocessingRaster()
        Creates an instance. The input url and format default to empty strings.
        Since:
        100.0.0
      • GeoprocessingRaster

        public GeoprocessingRaster​(java.lang.String inputUrl,
                                   java.lang.String format)
        Creates an instance.
        Parameters:
        inputUrl - the url of the input file
        format - the format of the raster
        Throws:
        java.lang.IllegalArgumentException - if inputUrl is null
        java.lang.IllegalArgumentException - if format is null
        Since:
        100.0.0
    • Method Detail

      • getFormat

        public java.lang.String getFormat()
        Returns the format. By default this is an empty string.
        Returns:
        the format
        Since:
        100.0.0
      • setFormat

        public void setFormat​(java.lang.String format)
        Sets the format.
        Parameters:
        format - the format
        Throws:
        java.lang.IllegalArgumentException - if format is null
        Since:
        100.0.0