java.lang.Object
com.esri.arcgisruntime.portal.HelperServices
- All Implemented Interfaces:
JsonSerializable
Container for helper services that are provided by the portal. Objects of this class are provided
by
PortalInfo.getHelperServices()
.
For detailed information about these services, see the "Services from Esri" topic within the ArcGIS REST API documentation.
- Since:
- 100.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic HelperServices
Creates a HelperServices instance from a JSON string.Gets the URL of hosted GP services that perform analyses.Gets the URL of the asynchronous closest facility service.Gets the URL of the asynchronous elevation analysis services.Gets the URL of the asynchronous location-allocation service.Gets the URL of the ArcGIS geoprocessing service for generating origin-destination cost matrices asynchronously.Gets the URL of the asynchronous route service.Gets the URL of the asynchronous service-area service.Gets the URL of the asynchronous vehicle routing problem service.Gets information about Limited Error Raster Compression (LERC) elevation services used by ArcGIS Pro and the Web Scene Viewer.Gets the geocode services.Gets the URL of the geoenrichment service.Gets the URL of the geometry service.Gets the URL of the hydrologic analysis services.Gets the URL of the location tracking service.Gets the URL of the print service.Gets the URL of the synchronous closest facility service.Gets the URL of the synchronous elevation analysis services.Gets the URL of the synchronous route service.Gets the URL of the synchronous service-area service.Gets the URL of the synchronous vehicle routing problem service.Gets the URL of the traffic service.Gets unknown data from the source JSON.Gets unsupported data from the source JSON.toJson()
Serializes this object to a JSON string.
-
Method Details
-
fromJson
Creates a HelperServices instance from a JSON string.- Parameters:
json
- a JSON string that represents a HelperServices- Returns:
- a HelperServices instance
- Throws:
IllegalArgumentException
- if json is null or empty- Since:
- 100.8.0
-
toJson
Description copied from interface:JsonSerializable
Serializes this object to a JSON string. Note that unknown JSON is omitted from the serialized string.- Specified by:
toJson
in interfaceJsonSerializable
- Returns:
- a JSON string
-
getUnknownJson
Description copied from interface:JsonSerializable
Gets unknown data from the source JSON.Unknown JSON is a Map of values not defined in the ArcGIS specification used to create this object but found in the source JSON. If the object is written back to JSON, any unknown JSON data is not persisted. The ArcGIS specification may be for a web map, web scene, REST API, and so on.
- Specified by:
getUnknownJson
in interfaceJsonSerializable
- Returns:
- an unmodifiable Map containing unknown data from the source JSON
-
getUnsupportedJson
Description copied from interface:JsonSerializable
Gets unsupported data from the source JSON.Unsupported JSON is a Map of values defined in the ArcGIS specification used to create this object but not currently used in this API. If the object is written back to JSON, any unsupported JSON data is persisted. The ArcGIS specification may be from a web map, web scene, REST API, and so on.
- Specified by:
getUnsupportedJson
in interfaceJsonSerializable
- Returns:
- an unmodifiable Map containing unsupported data from the source JSON
-
getDefaultElevationServices
Gets information about Limited Error Raster Compression (LERC) elevation services used by ArcGIS Pro and the Web Scene Viewer.- Returns:
- an unmodifiable list of ElevationServiceInfo objects. This will throw an UnsupportedOperationException if an attempt is made to modify it.
- Since:
- 100.5.0
- See Also:
-
getGeocodeServices
Gets the geocode services.- Returns:
- an unmodifiable list of the geocode services. This will throw an UnsupportedOperationException if an attempt is made to modify it.
- Since:
- 100.0.0
- See Also:
-
getGeometryService
Gets the URL of the geometry service.- Returns:
- the URL of the geometry service, or null if none
- Since:
- 100.0.0
-
getPrintService
Gets the URL of the print service.- Returns:
- the URL of the print service, or null if none
- Since:
- 100.0.0
-
getSyncRouteService
Gets the URL of the synchronous route service.- Returns:
- the URL of the synchronous route service, or null if none
- Since:
- 100.0.0
-
getAsyncRouteService
Gets the URL of the asynchronous route service.- Returns:
- the URL of the asynchronous route service, or null if none
- Since:
- 100.0.0
-
getSyncClosestFacilityService
Gets the URL of the synchronous closest facility service.- Returns:
- the URL of the synchronous closest facility service, or null if none
- Since:
- 100.0.0
-
getAsyncClosestFacilityService
Gets the URL of the asynchronous closest facility service.- Returns:
- the URL of the asynchronous closest facility service, or null if none
- Since:
- 100.0.0
-
getTrafficService
Gets the URL of the traffic service.- Returns:
- the URL of the traffic service, or null if none
- Since:
- 100.0.0
-
getSyncServiceAreaService
Gets the URL of the synchronous service-area service.- Returns:
- the URL of the synchronous service-area service, or null if none
- Since:
- 100.0.0
-
getAsyncServiceAreaService
Gets the URL of the asynchronous service-area service.- Returns:
- the URL of the asynchronous service-area service, or null if none
- Since:
- 100.0.0
-
getSyncVrpService
Gets the URL of the synchronous vehicle routing problem service.- Returns:
- the URL of the synchronous vehicle routing problem service, or null if none
- Since:
- 100.0.0
-
getAsyncVrpService
Gets the URL of the asynchronous vehicle routing problem service.- Returns:
- the URL of the asynchronous vehicle routing problem service, or null if none
- Since:
- 100.0.0
-
getAsyncLocationAllocationService
Gets the URL of the asynchronous location-allocation service.- Returns:
- the URL of the asynchronous location-allocation service, or null if none
- Since:
- 100.0.0
-
getAnalysisService
Gets the URL of hosted GP services that perform analyses.- Returns:
- the URL of hosted GP services that perform analyses, or null if none
- Since:
- 100.0.0
-
getGeoenrichmentService
Gets the URL of the geoenrichment service.- Returns:
- the URL of the geoenrichment service, or null if none
- Since:
- 100.0.0
-
getSyncElevationService
Gets the URL of the synchronous elevation analysis services.- Returns:
- the URL of the synchronous elevation analysis services, or null if none
- Since:
- 100.0.0
-
getAsyncElevationService
Gets the URL of the asynchronous elevation analysis services.- Returns:
- the URL of the asynchronous elevation analysis services, or null if none
- Since:
- 100.0.0
-
getHydrologyService
Gets the URL of the hydrologic analysis services.- Returns:
- the URL of the hydrologic analysis services, or null if none
- Since:
- 100.0.0
-
getAsyncODCostMatrixService
Gets the URL of the ArcGIS geoprocessing service for generating origin-destination cost matrices asynchronously.- Returns:
- the URL of the asynchronous origin-destination cost matrix generation service, or null if none
- Since:
- 100.3.0
-
getLocationTrackingService
Gets the URL of the location tracking service.- Returns:
- the URL of the location tracking service, or null if none
- Since:
- 100.5.0
-