|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GPServiceType>
com.esri.client.local.GPServiceType
public enum GPServiceType
The Enum GPServiceType defines how geoprocessing services are run on the LocalServer.
Enum Constant Summary | |
---|---|
EXECUTE
The service will execute tasks synchronously on the LocalServer. |
|
SUBMIT_JOB
The service will run tasks asynchronously on the LocalServer. |
|
SUBMIT_JOB_WITH_MAP_SERVER_RESULT
The service will run tasks asynchronously. |
Method Summary | |
---|---|
static GPServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GPServiceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GPServiceType EXECUTE
The service will execute tasks synchronously on the LocalServer.
Use this for tasks that run quickly (approximately 15 seconds). The
Geoprocessor.execute
method is typically used to initiate
tasks in this service.
public static final GPServiceType SUBMIT_JOB
The service will run tasks asynchronously on the LocalServer.
The
Geoprocessor.submitJobAndGetResultsAsync
method is typically used to initiate tasks in this service.
public static final GPServiceType SUBMIT_JOB_WITH_MAP_SERVER_RESULT
The service will run tasks asynchronously.
The Geoprocessor.submitJobAsync
method is
typically used to initiate tasks in this service. A result of a task can
be displayed as a layer in a map using the GPMapImage class.
Method Detail |
---|
public static GPServiceType[] values()
for (GPServiceType c : GPServiceType.values()) System.out.println(c);
public static GPServiceType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |