Class SyncGeodatabaseJob

    • Method Detail

      • getGeodatabaseDeltaInfo

        public GeodatabaseDeltaInfo getGeodatabaseDeltaInfo()
        Gets information on geodatabase upload and download delta files.

        When SyncGeodatabaseParameters.isKeepGeodatabaseDeltas() is set to true, this property provides information about the synced geodatabase along with the paths to its uploaded and downloaded deltas.

        Delta geodatabases allow you to troubleshoot sync problems - for example by inspecting the changes they contain or sending the file to the system administrator for the feature service.

        This property will be set even if the job fails. If SyncGeodatabaseParameters.isKeepGeodatabaseDeltas() is false, this property will be null.

        Returns:
        an unmodifiable list containing information on geodatabase upload and download delta files, or null if none
        Since:
        100.10.0
      • getResult

        public java.util.List<SyncLayerResult> getResult()
        For a successfully completed job, the result returns a list of SyncLayerResult. Typically, when all features are synced successfully, this is an empty list.

        If individual edits failed, then the result list provides these errors grouped by each table, using SyncLayerResult instances. These in turn contain each edit error. Only errors are reported; the feature edit results do not contain information about successful adds, deletes, or updates.

        Specified by:
        getResult in class Job
        Returns:
        an unmodifiable list of SyncLayerResult objects once the job has completed successfully, otherwise an empty list
        Since:
        100.0.0
        See Also:
        SyncLayerResult