Class GUITask
- java.lang.Object
-
- com.logicaldoc.gui.common.client.beans.GUITask
-
- All Implemented Interfaces:
Serializable
public class GUITask extends Object implements Serializable
Representation of a task- Since:
- 6.0
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_IDLE
static int
STATUS_RUNNING
static int
STATUS_STOPPING
-
Constructor Summary
Constructors Constructor Description GUITask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addReportRecipient(GUIUser user)
int
getCompletionPercentage()
String
getName()
int
getProgress()
GUIUser[]
getReportRecipients()
GUIScheduling
getScheduling()
String
getSchedulingLabel()
long
getSize()
int
getStatus()
boolean
isIndeterminate()
boolean
isSendActivityReport()
void
setCompletionPercentage(int completionPercentage)
void
setIndeterminate(boolean indeterminate)
void
setName(String name)
void
setProgress(int progress)
void
setReportRecipients(GUIUser[] reportRecipients)
void
setScheduling(GUIScheduling scheduling)
void
setSchedulingLabel(String schedulingLabel)
void
setSendActivityReport(boolean sendActivityReport)
void
setSize(long size)
void
setStatus(int status)
-
-
-
Field Detail
-
STATUS_IDLE
public static final int STATUS_IDLE
- See Also:
- Constant Field Values
-
STATUS_RUNNING
public static final int STATUS_RUNNING
- See Also:
- Constant Field Values
-
STATUS_STOPPING
public static final int STATUS_STOPPING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getReportRecipients
public GUIUser[] getReportRecipients()
-
setReportRecipients
public void setReportRecipients(GUIUser[] reportRecipients)
-
addReportRecipient
public void addReportRecipient(GUIUser user)
-
getStatus
public int getStatus()
-
setStatus
public void setStatus(int status)
-
getSize
public long getSize()
-
setSize
public void setSize(long size)
-
getProgress
public int getProgress()
-
setProgress
public void setProgress(int progress)
-
getScheduling
public GUIScheduling getScheduling()
-
setScheduling
public void setScheduling(GUIScheduling scheduling)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getSchedulingLabel
public String getSchedulingLabel()
-
setSchedulingLabel
public void setSchedulingLabel(String schedulingLabel)
-
isIndeterminate
public boolean isIndeterminate()
-
setIndeterminate
public void setIndeterminate(boolean indeterminate)
-
getCompletionPercentage
public int getCompletionPercentage()
-
setCompletionPercentage
public void setCompletionPercentage(int completionPercentage)
-
isSendActivityReport
public boolean isSendActivityReport()
-
setSendActivityReport
public void setSendActivityReport(boolean sendActivityReport)
-
-