本文整理了Java中hudson.model.Messages.Api_MultipleMatch()
方法的一些代码示例,展示了Messages.Api_MultipleMatch()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Messages.Api_MultipleMatch()
方法的具体详情如下:
包路径:hudson.model.Messages
类名称:Messages
方法名:Api_MultipleMatch
[英]XPath "{0}" matched {1} nodes. Create XPath that only matches one, or use the "wrapper" query parameter to wrap them all under a root element.
[中]XPath“{0}”匹配了{1}个节点。创建只匹配一个的XPath,或者使用“wrapper”查询参数将它们全部封装在根元素下。
代码示例来源:origin: jenkinsci/jenkins
} else if (list.size() > 1) {
rsp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
rsp.getWriter().print(Messages.Api_MultipleMatch(xpath,list.size()));
return;
} else {
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
} else if (list.size() > 1) {
rsp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
rsp.getWriter().print(Messages.Api_MultipleMatch(xpath,list.size()));
return;
} else {
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
} else if (list.size() > 1) {
rsp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
rsp.getWriter().print(Messages.Api_MultipleMatch(xpath,list.size()));
return;
} else {
代码示例来源:origin: hudson/hudson-2.x
} else if (list.size() > 1) {
rsp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
rsp.getWriter().print(Messages.Api_MultipleMatch(xpath,list.size()));
return;
} else {
代码示例来源:origin: org.eclipse.hudson/hudson-core
} else if (list.size() > 1) {
rsp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
rsp.getWriter().print(Messages.Api_MultipleMatch(xpath, list.size()));
return;
} else {
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
} else if (list.size() > 1) {
rsp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
rsp.getWriter().print(Messages.Api_MultipleMatch(xpath,list.size()));
return;
} else {
内容来源于网络,如有侵权,请联系作者删除!