Package com.sogou.qadev.service.cynthia.bean

Examples of com.sogou.qadev.service.cynthia.bean.Stat


        fieldShowName = "title";
        fieldShowValue =  XMLUtil.toSafeXMLString(task.getTitle());
      }
      else if( "status_id".equals( fieldName ) || "状态".equals( fieldName ) ){
        fieldShowName = "status_id";
        Stat stat = flow.getStat(task.getStatusId());
        if (stat != null) {
          fieldShowValue =  stat.getName();
        }
      }
      else if( "create_user".equals( fieldName ) || "创建人".equals( fieldName ) ){
        fieldShowName = "create_user";
        fieldShowValue = task.getCreateUsername();
View Full Code Here


              //状态
              UUID statId = null;
              if (excelValueNum.get("状态")!=null) {
                String statIdStr = CynthiaUtil.getValue(row, excelValueNum.get("状态"));
                if (statIdStr != null && statIdStr.length() >0) {
                  Stat stat = flow.getStat(statIdStr);
                  if (stat == null) {
                    failCount ++;
                    errorInfo = new ErrorInfo() ;
                    errorInfo.setErrorDescription("状态不存在");
                    errorInfo.setErrorRowNum(j);
                    errorInfo.setErrorColumnName("状态");
                    errorInfoList.add(errorInfo);
                    continue;
                  }else {
                    statId = stat.getId();
                  }
                }
              }
             
              boolean isEndStat = isEndStat(flow, statId);
View Full Code Here

    for(Action action : this.actionMap.values()){
      if(action.getBeginStatId() != null){
        continue;
      }

      Stat endStat = this.statMap.get(action.getEndStatId());
      if(endStat != null){
        statSet.add(endStat);
      }
    }
View Full Code Here

    Flow flow = das.queryFlow(template.getFlowId());
    if(flow == null)
      return null;

    Stat stat = flow.getStat(data.getStatusId());
    if(stat == null)
      return null;

    return stat.getName();
  }
View Full Code Here

TOP

Related Classes of com.sogou.qadev.service.cynthia.bean.Stat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.