public class

ServiceAreaTask

extends Object
java.lang.Object
   ↳ com.esri.core.tasks.ags.na.ServiceAreaTask

Class Overview

Class executing a service area task on the server.

Summary

Public Constructors
ServiceAreaTask(String url)
Instantiates a new service area task.
ServiceAreaTask(String url, UserCredentials credentials)
Instantiates a new service area task.
Public Methods
ServiceAreaParameters getDefaultParameters()
Retrieves the default parameters as defined by the service layer.
ServiceAreaResult solve(ServiceAreaParameters sap)
Execute the ServiceAreaParameters defined for this ServiceAreaTask and returns a ServiceAreaResult containing the results.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ServiceAreaTask (String url)

Instantiates a new service area task.

Parameters
url the URL

public ServiceAreaTask (String url, UserCredentials credentials)

Instantiates a new service area task.

Parameters
url the url
credentials the user credentials

Public Methods

public ServiceAreaParameters getDefaultParameters ()

Retrieves the default parameters as defined by the service layer.

Returns
  • ServiceAreaParameters the server-default parameters
Throws
Exception the exception

public ServiceAreaResult solve (ServiceAreaParameters sap)

Execute the ServiceAreaParameters defined for this ServiceAreaTask and returns a ServiceAreaResult containing the results.

Parameters
sap the parameters
Returns
Throws
Exception the exception