|
|
@ -134,6 +134,10 @@ public class TaskNode { |
|
|
|
@JsonSerialize(using = JSONUtils.JsonDataSerializer.class) |
|
|
|
@JsonSerialize(using = JSONUtils.JsonDataSerializer.class) |
|
|
|
private String switchResult; |
|
|
|
private String switchResult; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@JsonDeserialize(using = JSONUtils.JsonDataDeserializer.class) |
|
|
|
|
|
|
|
@JsonSerialize(using = JSONUtils.JsonDataSerializer.class) |
|
|
|
|
|
|
|
private String waitStartTimeout; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* task instance priority |
|
|
|
* task instance priority |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -396,6 +400,7 @@ public class TaskNode { |
|
|
|
taskParams.put(Constants.CONDITION_RESULT, this.conditionResult); |
|
|
|
taskParams.put(Constants.CONDITION_RESULT, this.conditionResult); |
|
|
|
taskParams.put(Constants.DEPENDENCE, this.dependence); |
|
|
|
taskParams.put(Constants.DEPENDENCE, this.dependence); |
|
|
|
taskParams.put(Constants.SWITCH_RESULT, this.switchResult); |
|
|
|
taskParams.put(Constants.SWITCH_RESULT, this.switchResult); |
|
|
|
|
|
|
|
taskParams.put(Constants.WAIT_START_TIMEOUT, this.waitStartTimeout); |
|
|
|
return JSONUtils.toJsonString(taskParams); |
|
|
|
return JSONUtils.toJsonString(taskParams); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -450,4 +455,12 @@ public class TaskNode { |
|
|
|
public void setSwitchResult(String switchResult) { |
|
|
|
public void setSwitchResult(String switchResult) { |
|
|
|
this.switchResult = switchResult; |
|
|
|
this.switchResult = switchResult; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getWaitStartTimeout() { |
|
|
|
|
|
|
|
return this.waitStartTimeout; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setWaitStartTimeout(String waitStartTimeout) { |
|
|
|
|
|
|
|
this.waitStartTimeout = waitStartTimeout; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|