public class ExportMarshalTask extends android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean> implements android.content.DialogInterface.OnCancelListener, ExportMarshal.Progress
Constructor and Description |
---|
ExportMarshalTask(android.content.Context context,
ExportMarshal marshal,
java.util.List<Exportable> exports,
boolean displayProgress) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Boolean |
doInBackground(java.lang.Void... arg0) |
void |
onCancel(android.content.DialogInterface arg0) |
protected void |
onCancelled(java.lang.Boolean result) |
protected void |
onPostExecute(java.lang.Boolean result) |
protected void |
onPreExecute() |
protected void |
onProgressUpdate(java.lang.Integer... progress) |
void |
publish(int progress) |
public ExportMarshalTask(android.content.Context context, ExportMarshal marshal, java.util.List<Exportable> exports, boolean displayProgress)
protected void onPreExecute()
onPreExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
public void publish(int progress)
publish
in interface ExportMarshal.Progress
protected void onProgressUpdate(java.lang.Integer... progress)
onProgressUpdate
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
protected java.lang.Boolean doInBackground(java.lang.Void... arg0)
doInBackground
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
protected void onCancelled(java.lang.Boolean result)
onCancelled
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>
public void onCancel(android.content.DialogInterface arg0)
onCancel
in interface android.content.DialogInterface.OnCancelListener
protected void onPostExecute(java.lang.Boolean result)
onPostExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Boolean>