GNDMS 0.6.0
RESTful verison of GNDMS
|
Default implementation of TaskStatus. More...
Public Member Functions | |
Status | getStatus () |
Delivers the value of ::status. | |
int | getProgress () |
Delivers the value of ::progress. | |
int | getMaxProgress () |
Delivers the value of ::maxProgress. | |
void | setStatus (Status status) |
Sets the value of ::status to status. | |
void | setProgress (int progress) |
Sets the value of ::progress to progress. | |
void | setMaxProgress (int maxProgress) |
Sets the value of ::maxProgress to maxProgress. | |
Private Attributes | |
TaskStatus.Status | status = Status.WAITING |
The current status of the task. | |
int | progress = 0 |
The current progress. | |
int | maxProgress = 2341234 |
The maximum progress. |
Default implementation of TaskStatus.
int de.zib.gndms.common.model.gorfx.types.DefaultTaskStatus.getMaxProgress | ( | ) |
Delivers the value of ::maxProgress.
Implements de.zib.gndms.common.model.gorfx.types.TaskStatus.
int de.zib.gndms.common.model.gorfx.types.DefaultTaskStatus.getProgress | ( | ) |
Delivers the value of ::progress.
Implements de.zib.gndms.common.model.gorfx.types.TaskStatus.
Status de.zib.gndms.common.model.gorfx.types.DefaultTaskStatus.getStatus | ( | ) |
Delivers the value of ::status.
Implements de.zib.gndms.common.model.gorfx.types.TaskStatus.
void de.zib.gndms.common.model.gorfx.types.DefaultTaskStatus.setMaxProgress | ( | int | maxProgress | ) |
Sets the value of ::maxProgress to maxProgress.
maxProgress | The new value of ::maxProgress. |
void de.zib.gndms.common.model.gorfx.types.DefaultTaskStatus.setProgress | ( | int | progress | ) |
Sets the value of ::progress to progress.
progress | The new value of ::progress. |
void de.zib.gndms.common.model.gorfx.types.DefaultTaskStatus.setStatus | ( | Status | status | ) |
Sets the value of ::status to status.
status | The new value of ::status. |