Class CollectJobController.WorkerView
- java.lang.Object
-
- org.openforis.collect.web.controller.CollectJobController.WorkerView
-
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
CollectJobController.JobView
- Enclosing class:
- CollectJobController
public static class CollectJobController.WorkerView extends Object implements Proxy
-
-
Constructor Summary
Constructors Constructor Description WorkerView(org.openforis.concurrency.Worker worker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegercalculateRemainingMinutes()LongcalculateRemainingTime()longgetElapsedTime()StringgetErrorMessage()List<DataQueryExectutorTask.DataQueryExecutorError>getErrors()StringgetId()StringgetName()intgetProgressPercent()IntegergetRemainingMinutes()LonggetRemainingTime()org.openforis.concurrency.Worker.StatusgetStatus()booleanisCompleted()booleanisEnded()booleanisFailed()booleanisRunning()
-
-
-
Method Detail
-
calculateRemainingTime
public Long calculateRemainingTime()
-
calculateRemainingMinutes
public Integer calculateRemainingMinutes()
-
isEnded
public boolean isEnded()
-
isCompleted
public boolean isCompleted()
-
isRunning
public boolean isRunning()
-
isFailed
public boolean isFailed()
-
getId
public String getId()
-
getName
public String getName()
-
getProgressPercent
public int getProgressPercent()
-
getStatus
public org.openforis.concurrency.Worker.Status getStatus()
-
getErrorMessage
public String getErrorMessage()
-
getErrors
public List<DataQueryExectutorTask.DataQueryExecutorError> getErrors()
-
getElapsedTime
public long getElapsedTime()
-
getRemainingTime
public Long getRemainingTime()
-
getRemainingMinutes
public Integer getRemainingMinutes()
-
-