Package ubic.gemma.core.job.progress
Class ProgressData
java.lang.Object
ubic.gemma.core.job.progress.ProgressData
- All Implemented Interfaces:
Serializable
- Author:
- klc
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProgressData(String taskId, int per, String description) ProgressData(String taskId, int per, String description, boolean finished) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisDone()booleanisFailed()voidsetDescription(String description) voidsetDone(boolean done) voidsetFailed(boolean failed) voidsetForwardingURL(String forwardingURL) voidsetPercent(int percent) void
-
Constructor Details
-
ProgressData
public ProgressData() -
ProgressData
-
ProgressData
- Parameters:
taskId- task idper- int value of percentdescription- string a description of the progressfinished- finished
-
-
Method Details
-
getDescription
-
setDescription
- Parameters:
description- string a description of the progress
-
getForwardingURL
- Returns:
- the forwardingURL
-
setForwardingURL
- Parameters:
forwardingURL- the forwardingURL to set
-
getPercent
public int getPercent() -
setPercent
public void setPercent(int percent) -
getTaskId
- Returns:
- the taskId
-
setTaskId
- Parameters:
taskId- the taskId to set
-
isDone
public boolean isDone() -
setDone
public void setDone(boolean done) -
isFailed
public boolean isFailed() -
setFailed
public void setFailed(boolean failed)
-