Execute the requested operation. @exception BuildException if an error occurs
()
| 79 | * @exception BuildException if an error occurs |
| 80 | */ |
| 81 | @Override |
| 82 | public void execute() throws BuildException { |
| 83 | super.execute(); |
| 84 | String queryString; |
| 85 | if (query == null) { |
| 86 | queryString = ""; |
| 87 | } else { |
| 88 | try { |
| 89 | queryString = "?qry=" + URLEncoder.encode(query, getCharset()); |
| 90 | } catch (UnsupportedEncodingException e) { |
| 91 | throw new BuildException("Invalid 'charset' attribute: " + getCharset()); |
| 92 | } |
| 93 | } |
| 94 | log("Query string is " + queryString); |
| 95 | execute("/jmxproxy/" + queryString); |
| 96 | } |
| 97 | } |
nothing calls this directly
no test coverage detected