Package org.openforis.concurrency.proxy
Class JobProxy
- java.lang.Object
-
- org.openforis.concurrency.proxy.JobProxy
-
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
SurveyBackupJobProxy
public class JobProxy extends Object implements Proxy
- Author:
- S. Ricci
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobProxy.Status
-
Field Summary
Fields Modifier and Type Field Description protected org.openforis.concurrency.Jobjob
-
Constructor Summary
Constructors Constructor Description JobProxy(org.openforis.concurrency.Job job)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()String[]getErrorMessageArgs()StringgetId()protected org.openforis.concurrency.JobgetJob()StringgetName()intgetProgressPercent()JobProxy.StatusgetStatus()booleanisAborted()booleanisCompleted()booleanisFailed()booleanisPending()booleanisRunning()
-
-
-
Method Detail
-
getJob
protected org.openforis.concurrency.Job getJob()
-
getId
public String getId()
-
getStatus
public JobProxy.Status getStatus()
-
isPending
public boolean isPending()
-
isRunning
public boolean isRunning()
-
isFailed
public boolean isFailed()
-
isAborted
public boolean isAborted()
-
isCompleted
public boolean isCompleted()
-
getProgressPercent
public int getProgressPercent()
-
getErrorMessage
public String getErrorMessage()
-
getErrorMessageArgs
public String[] getErrorMessageArgs()
-
getName
public String getName()
-
-