Class Task
java.lang.Object
com.elpical.jclaro.admin.ws.server.Task
Class holds information about Task settings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns for which Channel the task appliesgetDBId()
long
Returns the end date of the Taskint
getId()
Sets the id of the Tasklong
long
Returns the start date of the TaskgetType()
Returns the type of time scheduleboolean
isActive()
Returns whether the Task is activeboolean
Returns whether jobs in the Inspector queue should be processed (send processed to configured destination)boolean
boolean
boolean
Returns whether the Inspector workflow setting should be changed to automatic while the task is activevoid
setActive(boolean active)
Sets whether the Task is activevoid
setChannel(String channel)
Sets for which Channel the task appliesvoid
setClearInspector(boolean clearInspector)
Sets whether jobs in the Inspector queue should be processed (send processed to configured destination)void
void
setEndDate(long endDate)
Sets the end date of the Taskvoid
setExportStatistics(boolean exportStatistics)
void
setId(int i)
Returns the id of the Taskvoid
setLastRun(long lastRun)
void
setResetStatistics(boolean resetStatistics)
void
setStartDate(long startDate)
Sets the start date of the Taskvoid
setSwitchInspector(boolean switchInspector)
Sets whether the Inspector workflow setting should be changed to automatic while the task is activevoid
sets the type of time schedule
-
Constructor Details
-
Task
public Task()Empty constructor
-
-
Method Details
-
isActive
public boolean isActive()Returns whether the Task is active- Returns:
- Whether the Task is active
-
setActive
public void setActive(boolean active)Sets whether the Task is active- Parameters:
active
- Whether the Task is active
-
isSwitchInspector
public boolean isSwitchInspector()Returns whether the Inspector workflow setting should be changed to automatic while the task is active- Returns:
- Whether the Inspector workflow setting should be changed to automatic while the task is active
-
setSwitchInspector
public void setSwitchInspector(boolean switchInspector)Sets whether the Inspector workflow setting should be changed to automatic while the task is active- Parameters:
switchInspector
- Whether the Inspector workflow setting should be changed to automatic while the task is active
-
isClearInspector
public boolean isClearInspector()Returns whether jobs in the Inspector queue should be processed (send processed to configured destination)- Returns:
- Whether jobs in the Inspector queue should be processed (send processed to configured destination)
-
setClearInspector
public void setClearInspector(boolean clearInspector)Sets whether jobs in the Inspector queue should be processed (send processed to configured destination)- Parameters:
clearInspector
- Whether jobs in the Inspector queue should be processed (send processed to configured destination)
-
getChannel
Returns for which Channel the task applies- Returns:
- For which Channel the task applies
-
setChannel
Sets for which Channel the task applies- Parameters:
channel
- For which Channel the task applies
-
getType
Returns the type of time schedule- Returns:
- The type of time schedule
- See Also:
AdminConnector.getScheduleTypes()
-
setType
sets the type of time schedule- Parameters:
type
- The type of time schedule- See Also:
AdminConnector.getScheduleTypes()
-
getStartDate
public long getStartDate()Returns the start date of the Task- Returns:
- The start date of the Task
-
setStartDate
public void setStartDate(long startDate)Sets the start date of the Task- Parameters:
startDate
- The start date of the Task
-
getEndDate
public long getEndDate()Returns the end date of the Task- Returns:
- The end date of the Task
-
setEndDate
public void setEndDate(long endDate)Sets the end date of the Task- Parameters:
endDate
- The end date of the Task
-
setId
public void setId(int i)Returns the id of the Task- Parameters:
i
- The id of the Task
-
getId
public int getId()Sets the id of the Task- Returns:
- The id of the Task
-
setDBId
-
getDBId
-
isExportStatistics
public boolean isExportStatistics() -
setExportStatistics
public void setExportStatistics(boolean exportStatistics) -
isResetStatistics
public boolean isResetStatistics() -
setResetStatistics
public void setResetStatistics(boolean resetStatistics) -
getLastRun
public long getLastRun() -
setLastRun
public void setLastRun(long lastRun)
-