Search in sources :

Example 6 with WorkFlowBuildHistory

use of com.qlangtech.tis.workflow.pojo.WorkFlowBuildHistory in project tis by qlangtech.

the class WorkFlowBuildHistoryDAOImpl method selectByPrimaryKey.

public WorkFlowBuildHistory selectByPrimaryKey(Integer id) {
    WorkFlowBuildHistory key = new WorkFlowBuildHistory();
    key.setId(id);
    WorkFlowBuildHistory record = (WorkFlowBuildHistory) this.load("work_flow_build_history.ibatorgenerated_selectByPrimaryKey", key);
    return record;
}
Also used : WorkFlowBuildHistory(com.qlangtech.tis.workflow.pojo.WorkFlowBuildHistory)

Example 7 with WorkFlowBuildHistory

use of com.qlangtech.tis.workflow.pojo.WorkFlowBuildHistory in project tis by qlangtech.

the class WorkFlowBuildHistoryDAOImpl method loadFromWriteDB.

public WorkFlowBuildHistory loadFromWriteDB(Integer id) {
    WorkFlowBuildHistory key = new WorkFlowBuildHistory();
    key.setId(id);
    WorkFlowBuildHistory record = (WorkFlowBuildHistory) this.loadFromWriterDB("work_flow_build_history.ibatorgenerated_selectByPrimaryKey", key);
    return record;
}
Also used : WorkFlowBuildHistory(com.qlangtech.tis.workflow.pojo.WorkFlowBuildHistory)

Example 8 with WorkFlowBuildHistory

use of com.qlangtech.tis.workflow.pojo.WorkFlowBuildHistory in project tis by qlangtech.

the class DataXJobConsumer method isCurrentJobProcessing.

@Override
protected boolean isCurrentJobProcessing(Integer jobId) {
    WorkFlowBuildHistory wfStatus = DagTaskUtils.getWFStatus(jobId);
    ExecResult execStat = ExecResult.parse(wfStatus.getState());
    return execStat.isProcessing();
}
Also used : WorkFlowBuildHistory(com.qlangtech.tis.workflow.pojo.WorkFlowBuildHistory) ExecResult(com.qlangtech.tis.assemble.ExecResult)

Aggregations

WorkFlowBuildHistory (com.qlangtech.tis.workflow.pojo.WorkFlowBuildHistory)8 JSONObject (com.alibaba.fastjson.JSONObject)2 ActionProxy (com.opensymphony.xwork2.ActionProxy)2 ExecResult (com.qlangtech.tis.assemble.ExecResult)2 AjaxValve (com.qlangtech.tis.manage.common.valve.AjaxValve)2 PhaseStatusCollection (com.qlangtech.tis.fullbuild.phasestatus.PhaseStatusCollection)1 CreateNewTaskResult (com.qlangtech.tis.manage.common.CreateNewTaskResult)1 Func (com.qlangtech.tis.manage.spring.aop.Func)1 WorkFlowBuildHistoryCriteria (com.qlangtech.tis.workflow.pojo.WorkFlowBuildHistoryCriteria)1 SimpleDateFormat (java.text.SimpleDateFormat)1 CountDownLatch (java.util.concurrent.CountDownLatch)1 ExecutorService (java.util.concurrent.ExecutorService)1