GeoprocessingTask class final

GeoprocessingTask is used to run geoprocessing task that is published as a web service.

GeoprocessingTask is the main component when running geoprocessing tasks. The task might be published through ArcGIS Server or Local server (on the platforms that supports it) using either synchronous execute or asynchronous submit execution type. When GeoprocessingParameters is created it is important to match GeoprocessingExecutionType to the value on the service.

Implemented types
Mixed-in types

Constructors

GeoprocessingTask({required Uri uri})
Create a geoprocessing task from a URL to a task within an ArcGIS REST geoprocessing service.
factory

Properties

geoprocessingTaskInfo GeoprocessingTaskInfo?
The metadata of this geoprocessing task.
no setter
hashCode int
The hash code for this object.
no setterinherited
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
onLoadStatusChanged Stream<LoadStatus>
A stream that reports changes to the LoadStatus.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
The URL of this geoprocessing task.
no setter

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
createDefaultParameters() Future<GeoprocessingParameters>
Creates default parameters for a geoprocessing task.
createJob(GeoprocessingParameters parameters) GeoprocessingJob
Returns a job that when started will run a geoprocessing job on the server.
load() Future<void>
Loads the metadata for the object asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retryLoad() Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited