Class ExportVectorTilesJob
- java.lang.Object
-
- com.esri.arcgisruntime.concurrent.Job
-
- com.esri.arcgisruntime.tasks.vectortilecache.ExportVectorTilesJob
-
- All Implemented Interfaces:
JsonSerializable
,RemoteResource
public final class ExportVectorTilesJob extends Job
A Job that exports a vector tile cache from an ArcGIS vector tiles service.An ExportVectorTilesJob instance is returned by one of the followings methods:
ExportVectorTilesTask.exportVectorTiles(ExportVectorTilesParameters, String)
ExportVectorTilesTask.exportVectorTiles(ExportVectorTilesParameters, String, String)
ExportVectorTilesTask.exportStyleResourceCache(String)
The Job is returned in a
Job.Status.NOT_STARTED
state andJob.start()
must be called to start the associated operation.See the
Job
class for full information about working with jobs.- Since:
- 100.2.0
- See Also:
Job
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.arcgisruntime.concurrent.Job
Job.Message, Job.MessageSeverity, Job.MessageSource, Job.Status
-
-
Field Summary
-
Fields inherited from class com.esri.arcgisruntime.concurrent.Job
mCredential, mRequestConfiguration
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getItemResourceCachePath()
Gets the path that the downloaded item resource cache is saved to.ExportVectorTilesParameters
getParameters()
Gets the export vector tile parameters used in the job.ExportVectorTilesResult
getResult()
Returns an ExportVectorTilesResult object once the job has completed successfully.java.lang.String
getVectorTileCachePath()
Gets the path that the downloaded vector tile cache is saved to.-
Methods inherited from class com.esri.arcgisruntime.concurrent.Job
addJobChangedListener, addJobDoneListener, addJobMessageAddedListener, addProgressChangedListener, addStatusChangedListener, cancel, cancelAsync, fromJson, getCredential, getError, getMessages, getProgress, getRequestConfiguration, getServerJobId, getStatus, getUnknownJson, getUnsupportedJson, getUri, pause, removeJobChangedListener, removeJobDoneListener, removeJobMessageAddedListener, removeProgressChangedListener, removeStatusChangedListener, setCredential, setRequestConfiguration, setUri, start, toJson
-
-
-
-
Method Detail
-
getResult
public ExportVectorTilesResult getResult()
Returns an ExportVectorTilesResult object once the job has completed successfully.
-
getItemResourceCachePath
public java.lang.String getItemResourceCachePath()
Gets the path that the downloaded item resource cache is saved to. If this job was created withExportVectorTilesTask.exportVectorTiles(ExportVectorTilesParameters, String)
, this will be an empty string.- Returns:
- the path to download item resource cache, or empty string if it is not available
- Since:
- 100.2.0
-
getVectorTileCachePath
public java.lang.String getVectorTileCachePath()
Gets the path that the downloaded vector tile cache is saved to.- Returns:
- the path to download vector tile cache, or empty string if it is not available
- Since:
- 100.2.0
-
getParameters
public ExportVectorTilesParameters getParameters()
Gets the export vector tile parameters used in the job.- Returns:
- the export vector tile parameters
- Since:
- 100.2.0
-
-