public class IssueControl
extends java.lang.Object
Author : Shockway Date: 14-3-6 Time: 下午3:43
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
END_TIME |
static java.lang.String |
EVERY_DAY |
static java.lang.String |
EXECUTE_DAY |
static java.lang.String |
EXECUTE_HOUR |
static java.lang.String |
EXECUTE_MINUTE |
static java.lang.String |
EXECUTE_MONTH |
static java.lang.String |
FREQUENCY |
static java.lang.String |
MONTH_DAY |
static java.lang.String |
ONLY_ONCE |
static java.lang.String |
START_TIME |
static java.lang.String |
WEEK_DAY |
构造器和说明 |
---|
IssueControl() |
IssueControl(JSONObject jo) |
限定符和类型 | 方法和说明 |
---|---|
void |
issueTask(WorkflowTask task)
下发任务
|
void |
parseJSON(JSONObject jo)
{
startTime:xxxx
onlyOnce: false
frequency: {
executeMinute: 20
executeHour: 10
executeDay {
everyDay: true
或者weekDay: [1,2,3]
或者monthDay: [1,2,3]
}
executeMonth: [0,1,2]
}
endTime:xxxx
}
|
java.lang.String |
toString()
转成字符串
|
public static final java.lang.String START_TIME
public static final java.lang.String ONLY_ONCE
public static final java.lang.String FREQUENCY
public static final java.lang.String EXECUTE_MINUTE
public static final java.lang.String EXECUTE_HOUR
public static final java.lang.String EXECUTE_DAY
public static final java.lang.String EVERY_DAY
public static final java.lang.String WEEK_DAY
public static final java.lang.String MONTH_DAY
public static final java.lang.String EXECUTE_MONTH
public static final java.lang.String END_TIME
public IssueControl()
public IssueControl(JSONObject jo)
public void parseJSON(JSONObject jo)
jo
- 用JSON对象初始化public void issueTask(WorkflowTask task)
task
- 任务public java.lang.String toString()
toString
在类中 java.lang.Object