Interface GeoPackageProgress


  • public interface GeoPackageProgress
    GeoPackage Progress interface for receiving progress information and handling cancellations
    Author:
    osbornb
    • Method Detail

      • setMax

        void setMax​(int max)
        Set the max progress value
        Parameters:
        max - max value
      • addProgress

        void addProgress​(int progress)
        Add to the total progress
        Parameters:
        progress - progress made
      • isActive

        boolean isActive()
        Is the process still active
        Returns:
        true if active, false if canceled
      • cleanupOnCancel

        boolean cleanupOnCancel()
        Should the progress so far be deleted when canceled (isActive() becomes false)
        Returns:
        true to cleanup progress