Package mil.nga.geopackage.io
Interface GeoPackageProgress
-
public interface GeoPackageProgressGeoPackage Progress interface for receiving progress information and handling cancellations- Author:
- osbornb
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddProgress(int progress)Add to the total progressbooleancleanupOnCancel()Should the progress so far be deleted when canceled (isActive()becomes false)booleanisActive()Is the process still activevoidsetMax(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
-
-