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 TypeMethodDescriptionint
boolean
isDone()
boolean
isFailed()
void
setDescription
(String description) void
setDone
(boolean done) void
setFailed
(boolean failed) void
setForwardingURL
(String forwardingURL) void
setPercent
(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)
-