public class ScheduleTask extends ItriggerTask
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
FIELD_NAME_REPORTLET_FOREIGN_KEY |
static ObjectTableMapper |
OBJECT_MAPPER |
static java.lang.String |
TABLE_NAME |
COUNTS, DES, ID, NAME, REPEATTIME, REPEATTIMES, TASKPARAMETERS
构造器和说明 |
---|
ScheduleTask() |
ScheduleTask(java.lang.String name) |
ScheduleTask(java.lang.String name,
java.lang.String description) |
ScheduleTask(TaskConfig taskConfig) |
限定符和类型 | 方法和说明 |
---|---|
ScheduleTask |
clone4Exe()
复制exe
|
JSONObject |
createJSONConfig()
生成配置信息
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEndTime() |
java.lang.String |
getExecuteClass() |
java.lang.String |
getExecuteFormula() |
ExecuteType |
getExecuteType() |
int |
getFileClearCount() |
ITrigger |
getITrigger() |
java.lang.String |
getReportletPath() |
ScheduledOutput |
getScheduledOutput() |
ShowType |
getShowType() |
java.lang.String |
getStartTime() |
TriggerGroup |
getTriggerGroup() |
int |
getTriggerState()
获取触发器状态
|
UserGroup |
getUserGroup() |
boolean |
isInTriggerOnceState() |
void |
setEndTime(java.lang.String endTime) |
void |
setExecuteClass(java.lang.String executeClass) |
void |
setExecuteFormula(java.lang.String executeFormula) |
void |
setExecuteType(ExecuteType executeType) |
void |
setFileClearCount(int fileClearCount) |
void |
setInTriggerOnceState(boolean inTriggerOnceState) |
void |
setITrigger(ITrigger iTrigger) |
void |
setReportletPath(java.lang.String reportletPath) |
void |
setScheduledOutput(ScheduledOutput scheduledOutput) |
void |
setShowType(ShowType showType) |
void |
setStartTime(java.lang.String startTime) |
void |
setTriggerGroup(TriggerGroup triggerGroup) |
void |
setUserGroup(UserGroup userGroup) |
createJSONConfig, getCounts, getDescription, getId, getName, getParametersToArray, getRepeatTime, getRepeatTimes, getTaskParameters, setCounts, setDescription, setId, setName, setRepeatTime, setRepeatTimes, setTaskParameters
public static final java.lang.String TABLE_NAME
public static final java.lang.String FIELD_NAME_REPORTLET_FOREIGN_KEY
public static final ObjectTableMapper OBJECT_MAPPER
public ScheduleTask()
public ScheduleTask(java.lang.String name)
public ScheduleTask(java.lang.String name, java.lang.String description)
public ScheduleTask(TaskConfig taskConfig)
public JSONObject createJSONConfig() throws JSONException
JSONException
- 抛出异常public int getTriggerState()
ItriggerTask
getTriggerState
在类中 ItriggerTask
public ScheduledOutput getScheduledOutput()
public void setScheduledOutput(ScheduledOutput scheduledOutput)
public boolean equals(java.lang.Object obj)
equals
在类中 ItriggerTask
public java.lang.String getReportletPath()
public void setReportletPath(java.lang.String reportletPath)
public java.lang.String getStartTime()
public void setStartTime(java.lang.String startTime)
public java.lang.String getEndTime()
public void setEndTime(java.lang.String endTime)
public ShowType getShowType()
public void setShowType(ShowType showType)
public ITrigger getITrigger()
public void setITrigger(ITrigger iTrigger)
public ScheduleTask clone4Exe() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- 抛出异常public ExecuteType getExecuteType()
public void setExecuteType(ExecuteType executeType)
public java.lang.String getExecuteFormula()
public void setExecuteFormula(java.lang.String executeFormula)
public java.lang.String getExecuteClass()
public void setExecuteClass(java.lang.String executeClass)
public TriggerGroup getTriggerGroup()
public void setTriggerGroup(TriggerGroup triggerGroup)
public UserGroup getUserGroup()
public void setUserGroup(UserGroup userGroup)
public int getFileClearCount()
public void setFileClearCount(int fileClearCount)
public boolean isInTriggerOnceState()
public void setInTriggerOnceState(boolean inTriggerOnceState)