public class CompressionTask extends MissionPackageBaseTask
MissionPackageBaseTask.Callback, MissionPackageBaseTask.ProgressDialogUpdate
_callback, _cancelReason, _manifest, _progressDialog, _receiver
Constructor and Description |
---|
CompressionTask(MissionPackageManifest contents,
MissionPackageReceiver receiver,
boolean bShowProgress,
MissionPackageBaseTask followUpTask,
MissionPackageBaseTask.Callback callback,
boolean bDeleteUponError) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CompressMissionPackage(MissionPackageManifest contents,
MissionPackageReceiver receiver,
MissionPackageBuilder.Progress progress) |
protected java.lang.Boolean |
doInBackground(java.lang.Void... arg0) |
int |
getChainedTaskCount()
Get the number of chained tasks
|
java.lang.String |
getProgressDialogMessage() |
protected void |
onPostExecute(java.lang.Boolean result) |
void |
setPersist(boolean persist)
Set whether the data package should be persisted to the local database
If true, the data package will show up within ATAK for this device
If false, the data package zip file will be created without showing up
in the local user's ATAK
|
cancel, dismissProgressDialog, getContext, getManifest, getMapView, onCancel, onCancelled, onPreExecute, onProgressUpdate, publish, setProgressDialog, toString
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled, onCancelled, publishProgress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isCancelled
public CompressionTask(MissionPackageManifest contents, MissionPackageReceiver receiver, boolean bShowProgress, MissionPackageBaseTask followUpTask, MissionPackageBaseTask.Callback callback, boolean bDeleteUponError)
public void setPersist(boolean persist)
persist
- True to persistpublic int getChainedTaskCount()
public java.lang.String getProgressDialogMessage()
getProgressDialogMessage
in class MissionPackageBaseTask
protected java.lang.Boolean doInBackground(java.lang.Void... arg0)
doInBackground
in class android.os.AsyncTask<java.lang.Void,MissionPackageBaseTask.ProgressDialogUpdate,java.lang.Boolean>
public static java.lang.String CompressMissionPackage(MissionPackageManifest contents, MissionPackageReceiver receiver, MissionPackageBuilder.Progress progress)
protected void onPostExecute(java.lang.Boolean result)
onPostExecute
in class android.os.AsyncTask<java.lang.Void,MissionPackageBaseTask.ProgressDialogUpdate,java.lang.Boolean>