Class GUITask
java.lang.Object
com.logicaldoc.gui.common.client.beans.GUITask
- All Implemented Interfaces:
Serializable
Representation of a task
- Since:
- 6.0
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addReportRecipient
(GUIUser user) int
getName()
int
long
getSize()
int
boolean
boolean
void
setCompletionPercentage
(int completionPercentage) void
setIndeterminate
(boolean indeterminate) void
void
setProgress
(int progress) void
setReportRecipients
(List<GUIUser> reportRecipients) void
setScheduling
(GUIScheduling scheduling) void
setSchedulingLabel
(String schedulingLabel) void
setSendActivityReport
(boolean sendActivityReport) void
setSize
(long size) void
setStatus
(int status)
-
Field Details
-
STATUS_IDLE
public static final int STATUS_IDLE- See Also:
-
STATUS_RUNNING
public static final int STATUS_RUNNING- See Also:
-
STATUS_STOPPING
public static final int STATUS_STOPPING- See Also:
-
-
Constructor Details
-
GUITask
public GUITask()
-
-
Method Details
-
getReportRecipients
-
setReportRecipients
-
addReportRecipient
-
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
-
setScheduling
-
getName
-
setName
-
getSchedulingLabel
-
setSchedulingLabel
-
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)
-