public Map<String, Object> toObject() { final HashMap<String, Object> attempts = new HashMap<>(); attempts.put(ATTEMPT_PARAM, this.attempt); attempts.put(STARTTIME_PARAM, this.startTime); attempts.put(ENDTIME_PARAM, this.endTime); attempts.put(STATUS_PARAM, this.status.toString()); return attempts; } }
@Override public Object toJson() { final Map<String, Object> jsonObj = new HashMap<>(); jsonObj.put("type", type); jsonObj.put("execId", String.valueOf(this.execId)); if (this.jobName != null) { jsonObj.put("jobName", this.jobName); } jsonObj.put("wantedStatus", this.wantedStatus.toString()); jsonObj.put("checkerId", this.checkerId); return jsonObj; }
public Map<String, Object> toObject() { final HashMap<String, Object> map = new HashMap<>(); map.put("execId", this.execId); map.put("version", this.version); map.put("flowId", this.flowId); map.put("jobId", this.jobId); map.put("startTime", this.startTime); map.put("endTime", this.endTime); map.put("status", this.status.toString()); map.put("attempt", this.attempt); return map; } }
protected void fillMapFromExecutable(final Map<String, Object> objMap) { objMap.put(ID_PARAM, this.id); objMap.put(STATUS_PARAM, this.status.toString()); objMap.put(STARTTIME_PARAM, this.startTime); objMap.put(ENDTIME_PARAM, this.endTime);
flowInfo.put("flowId", flow.getFlowId()); flowInfo.put("projectId", flow.getProjectId()); flowInfo.put("status", flow.getStatus().toString()); flowInfo.put("submitTime", flow.getSubmitTime()); flowInfo.put("startTime", flow.getStartTime());
nodeStatus.put(node.getId(), node.getStatus().toString());
public Map<String, Object> toObject() { final HashMap<String, Object> attempts = new HashMap<>(); attempts.put(ATTEMPT_PARAM, this.attempt); attempts.put(STARTTIME_PARAM, this.startTime); attempts.put(ENDTIME_PARAM, this.endTime); attempts.put(STATUS_PARAM, this.status.toString()); return attempts; } }
public Map<String, Object> toObject() { HashMap<String,Object> attempts = new HashMap<String,Object>(); attempts.put(ATTEMPT_PARAM, attempt); attempts.put(STARTTIME_PARAM, startTime); attempts.put(ENDTIME_PARAM, endTime); attempts.put(STATUS_PARAM, status.toString()); return attempts; } }
@Override public Object toJson() { Map<String, Object> jsonObj = new HashMap<String, Object>(); jsonObj.put("type", type); jsonObj.put("execId", String.valueOf(execId)); if(jobName != null) { jsonObj.put("jobName", jobName); } jsonObj.put("wantedStatus", wantedStatus.toString()); jsonObj.put("checkerId", checkerId); return jsonObj; }
@Override public Object toJson() { final Map<String, Object> jsonObj = new HashMap<>(); jsonObj.put("type", type); jsonObj.put("execId", String.valueOf(this.execId)); if (this.jobName != null) { jsonObj.put("jobName", this.jobName); } jsonObj.put("wantedStatus", this.wantedStatus.toString()); jsonObj.put("checkerId", this.checkerId); return jsonObj; }
public Map<String, Object> toObject() { final HashMap<String, Object> map = new HashMap<>(); map.put("execId", this.execId); map.put("version", this.version); map.put("flowId", this.flowId); map.put("jobId", this.jobId); map.put("startTime", this.startTime); map.put("endTime", this.endTime); map.put("status", this.status.toString()); map.put("attempt", this.attempt); return map; } }
public Map<String, Object> toObject() { HashMap<String, Object> map = new HashMap<String, Object>(); map.put("execId", execId); map.put("version", version); map.put("flowId", flowId); map.put("jobId", jobId); map.put("startTime", startTime); map.put("endTime", endTime); map.put("status", status.toString()); map.put("attempt", attempt); return map; } }
private void handleAjaxFlowStatus(Map<String, Object> respMap, int execid) { ExecutableFlowBase flow = flowRunnerManager.getExecutableFlow(execid); if (flow == null) { respMap.put(STATUS_PARAM, RESPONSE_NOTFOUND); } else { respMap.put(STATUS_PARAM, flow.getStatus().toString()); respMap.put(RESPONSE_UPDATETIME, flow.getUpdateTime()); } }
protected void fillMapFromExecutable(Map<String,Object> objMap) { objMap.put(ID_PARAM, this.id); objMap.put(STATUS_PARAM, status.toString()); objMap.put(STARTTIME_PARAM, startTime); objMap.put(ENDTIME_PARAM, endTime);
protected void fillMapFromExecutable(final Map<String, Object> objMap) { objMap.put(ID_PARAM, this.id); objMap.put(STATUS_PARAM, this.status.toString()); objMap.put(STARTTIME_PARAM, this.startTime); objMap.put(ENDTIME_PARAM, this.endTime);
flowInfo.put("flowId", flow.getFlowId()); flowInfo.put("projectId", flow.getProjectId()); flowInfo.put("status", flow.getStatus().toString()); flowInfo.put("submitTime", flow.getSubmitTime()); flowInfo.put("startTime", flow.getStartTime());
nodeStatus.put(node.getId(), node.getStatus().toString());
case CANCELLED: case FAILED_SUCCEEDED: logger.info("Flow '" + id + "' is set to " + flow.getStatus().toString() + " in " + durationSec + " seconds"); break; default: flow.setStatus(Status.SUCCEEDED); logger.info("Flow '" + id + "' is set to " + flow.getStatus().toString() + " in " + durationSec + " seconds");