org.apache.tuscany.sca.monitor.Monitor.problem()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(8.2k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中org.apache.tuscany.sca.monitor.Monitor.problem()方法的一些代码示例,展示了Monitor.problem()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Monitor.problem()方法的具体详情如下:
包路径:org.apache.tuscany.sca.monitor.Monitor
类名称:Monitor
方法名:problem

Monitor.problem介绍

[英]Reports a build problem.
[中]报告生成问题。

代码示例

代码示例来源:origin: org.apache.tuscany.sca/tuscany-contribution

private void error(Monitor monitor, String message, Object model, Exception ex) {
  if (monitor != null) {
    Problem problem =
      monitor.createProblem(this.getClass().getName(),
                 "contribution-validation-messages",
                 Severity.ERROR,
                 model,
                 message,
                 ex);
    monitor.problem(problem);
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

private void warning(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem =
      monitor.createProblem(this.getClass().getName(),
                 "impl-widget-validation-messages",
                 Severity.WARNING,
                 model,
                 message,
                 (Object[])messageParameters);
    monitor.problem(problem);
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-assembly-xml

private void warn(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem =
      monitor.createProblem(this.getClass().getName(),
                 Messages.RESOURCE_BUNDLE,
                 Severity.WARNING,
                 model,
                 message,
                 messageParameters);
    monitor.problem(problem);
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-implementation-widget

private void warning(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem =
      monitor.createProblem(this.getClass().getName(),
                 "impl-widget-validation-messages",
                 Severity.WARNING,
                 model,
                 message,
                 (Object[])messageParameters);
    monitor.problem(problem);
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

private void error(Monitor monitor, String message, Object model, Exception ex) {
  if (monitor != null) {
    Problem problem =
      monitor.createProblem(this.getClass().getName(),
                 "contribution-validation-messages",
                 Severity.ERROR,
                 model,
                 message,
                 ex);
    monitor.problem(problem);
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-contribution

/**
 * Report a error.
 * 
 * @param problems
 * @param message
 * @param model
 */
 private void error(Monitor monitor, String message, Object model, Object... messageParameters) {
   if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "contribution-java-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
    monitor.problem(problem);
   }
 }

代码示例来源:origin: org.apache.tuscany.sca/tuscany-contribution

/**
 * Report a warning.
 *
 * @param problems
 * @param message
 * @param model
 */
 private void error(Monitor monitor, String message, Object model, Object... messageParameters) {
   if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "contribution-namespace-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
    monitor.problem(problem);
   }
 }

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

/**
 * Report a warning.
 * 
 * @param problems
 * @param message
 * @param model
 */
private void warning(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "interface-wsdlxml-validation-messages", Severity.WARNING, model, message, (Object[])messageParameters);
    monitor.problem(problem);
  }
 }

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

/**
* Report a exception.
* 
* @param problems
* @param message
* @param model
*/
private void error(Monitor monitor, String message, Object model, Exception ex) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "interface-wsdlxml-validation-messages", Severity.ERROR, model, message, ex);
    monitor.problem(problem);
  }        
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

/**
 * Report a warning.
 * 
 * @param problems
 * @param message
 * @param model
 */
private void warning(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "interface-wsdlxml-validation-messages", Severity.WARNING, model, message, (Object[])messageParameters);
    monitor.problem(problem);
  }
 }

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

/**
 * Report a warning.
 *
 * @param problems
 * @param message
 * @param model
 */
 private void error(Monitor monitor, String message, Object model, Object... messageParameters) {
   if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "contribution-namespace-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
    monitor.problem(problem);
   }
 }

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

/**
 * Report a error.
 * 
 * @param problems
 * @param message
 * @param model
 */
private void error(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "binding-wsxml-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
    monitor.problem(problem);
  }        
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

/**
 * Report an exception.
 * 
 * @param problem
 * @param model
 * @param exception
 */
private void error(Monitor monitor, String message, Object model, Exception ex) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "binding-wsxml-validation-messages", Severity.ERROR, model, message, ex);
    monitor.problem(problem);
  }        
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

/**
 * Report a error.
 * 
 * @param problems
 * @param message
 * @param model
*/
private void warning(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "binding-jms-validation-messages", Severity.WARNING, model, message, (Object[])messageParameters);
    monitor.problem(problem);
  }        
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

/**
 * Report a error.
 * 
 * @param problems
 * @param message
 * @param model
 */
private void error(Monitor monitor, String message, Object model, Object... messageParameters) {
   if (monitor != null) {
      Problem problem = monitor.createProblem(this.getClass().getName(), "impl-bpel-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
      monitor.problem(problem);
   }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-policy-security

/**
 * Report a error.
 * 
 * @param problems
 * @param message
 * @param model
 */
private void error(Monitor monitor, String message, Object model, Object... messageParameters) {
   if (monitor != null) {
     Problem problem = monitor.createProblem(this.getClass().getName(), "policy-security-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
     monitor.problem(problem);
   }        
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-binding-ws

/**
 * Report a error.
 * 
 * @param problems
 * @param message
 * @param model
 */
private void error(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "binding-wsxml-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
    monitor.problem(problem);
  }        
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-implementation-bpel

/**
 * Report a error.
 * 
 * @param problems
 * @param message
 * @param model
 */
private void error(Monitor monitor, String message, Object model, Object... messageParameters) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "impl-bpel-validation-messages", Severity.ERROR, model, message, (Object[])messageParameters);
    monitor.problem(problem);
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-contribution

/**
 * Report a exception.
 *
 * @param problems
 * @param message
 * @param model
 */
private void error(Monitor monitor, String message, Object model, Exception ex) {
  if (monitor != null) {
    Problem problem = monitor.createProblem(this.getClass().getName(), "contribution-xml-validation-messages", Severity.ERROR, model, message, ex);
    monitor.problem(problem);
  }
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

/**
 * Report a exception.
 *
 * @param problems
 * @param message
 * @param model
 */
 private void error(Monitor monitor, String message, Object model, Exception ex) {
   if (monitor != null) {
     Problem problem = monitor.createProblem(this.getClass().getName(), "interface-wsdlxml-validation-messages", Severity.ERROR, model, message, ex);
     monitor.problem(problem);
   }
 }

相关文章