Package mil.nga.geopackage.io
Interface GeoPackageProgress
-
public interface GeoPackageProgress
GeoPackage Progress interface for receiving progress information and handling cancellations- Author:
- osbornb
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addProgress(int progress)
Add to the total progressboolean
cleanupOnCancel()
Should the progress so far be deleted when canceled (isActive()
becomes false)boolean
isActive()
Is the process still activevoid
setMax(int max)
Set the max progress value
-
-
-
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
-
-