Examples of IRationale


Examples of org.apache.uima.ducc.transport.event.common.IRationale

      if(jobCompletionType != null) {
        text = "completion type: "+jobCompletionType.toString();
        userLogging.toUserDuccLog(text);
        logger.debug(methodName, job.getDuccId(), text);
      }
      IRationale rationale = job.getCompletionRationale();
      if(rationale != null) {
        text = "rationale: "+rationale.toString();
        userLogging.toUserDuccLog(text);
        logger.debug(methodName, job.getDuccId(), text);
      }
    }
    catch(Exception e) {
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.common.IRationale

            break;
          case Undefined:
            sb.append("<span>");
            break;
          default:
            IRationale rationale = job.getCompletionRationale();
            if(rationale != null) {
              sb.append("<span title=\""+rationale+"\">");
            }
            else {
              sb.append("<span>");
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.common.IRationale

            sb.append("<span title=\"canceled by "+cancelUser+"\">");
            sb.append(duccwork.getCompletionTypeObject().toString());
            sb.append("</span>");
          }
          else {             
            IRationale rationale = reservation.getCompletionRationale();
            if(rationale != null) {
              sb.append("<span title=\""+rationale+"\">");
              sb.append(duccwork.getCompletionTypeObject().toString());
              sb.append("</span>");
            }
            else {
              sb.append(duccwork.getCompletionTypeObject().toString());
            }
           
          }
        }
        catch(Exception e) {
          IRationale rationale = reservation.getCompletionRationale();
          if(rationale != null) {
            sb.append("<span title=\""+rationale+"\">");
            sb.append(duccwork.getCompletionTypeObject().toString());
            sb.append("</span>");
          }
          else {
            sb.append(duccwork.getCompletionTypeObject().toString());
          }
        }
        break;
      default:
        IRationale rationale = reservation.getCompletionRationale();
        if(rationale != null) {
          sb.append("<span title=\""+rationale+"\">");
          sb.append(duccwork.getCompletionTypeObject().toString());
          sb.append("</span>");
        }
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.common.IRationale

      if(!stateSequence.contains(state)) {
        duccLogger.info(location, duccId, "state: "+state);
        stateSequence.add(state);
      }
     
      IRationale rationale = dwj.getCompletionRationale();
      if(rationale != null) {
        if(rationale.isSpecified()) {
          String text = rationale.getText();
          if(text != null) {
            monitorInfo.rationale = text;
          }
        }
      }
View Full Code Here

Examples of org.apache.uima.ducc.transport.event.common.IRationale

            sb.append("<span title=\"canceled by "+cancelUser+"\">");
            sb.append(duccwork.getCompletionTypeObject().toString());
            sb.append("</span>");
          }
          else {             
            IRationale rationale = reservation.getCompletionRationale();
            if(rationale != null) {
              sb.append("<span title=\""+rationale+"\">");
              sb.append(duccwork.getCompletionTypeObject().toString());
              sb.append("</span>");
            }
            else {
              sb.append(duccwork.getCompletionTypeObject().toString());
            }
           
          }
        }
        catch(Exception e) {
          IRationale rationale = reservation.getCompletionRationale();
          if(rationale != null) {
            sb.append("<span title=\""+rationale+"\">");
            sb.append(duccwork.getCompletionTypeObject().toString());
            sb.append("</span>");
          }
          else {
            sb.append(duccwork.getCompletionTypeObject().toString());
          }
        }
        break;
      default:
        IRationale rationale = reservation.getCompletionRationale();
        if(rationale != null) {
          sb.append("<span title=\""+rationale+"\">");
          sb.append(duccwork.getCompletionTypeObject().toString());
          sb.append("</span>");
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.