Пример #1
0
 public SearchResults getArtifactlistAsSearchResults()
     throws IOException, MalformedURLException, JAXBException {
   HashMap<String, Object> _queryParameterValues = new HashMap<>();
   HashMap<String, Object> _headerParameterValues = new HashMap<>();
   String _url = _uriBuilder.buildUri(_templateAndMatrixParameterValues, _queryParameterValues);
   Object _retVal = _jaxbDispatcher.doGET(_url, _headerParameterValues, "application/xml");
   if (_retVal == null) {
     return null;
   }
   if (JAXBElement.class.isInstance(_retVal)) {
     JAXBElement jaxbElement = ((JAXBElement) _retVal);
     _retVal = jaxbElement.getValue();
   }
   return ((SearchResults) _retVal);
 }
Пример #2
0
 public org.jetbrains.idea.maven.services.nexus.Repositories getRepolistAsRepositories()
     throws IOException, MalformedURLException, JAXBException {
   HashMap<String, Object> _queryParameterValues = new HashMap<>();
   HashMap<String, Object> _headerParameterValues = new HashMap<>();
   String _url = _uriBuilder.buildUri(_templateAndMatrixParameterValues, _queryParameterValues);
   Object _retVal = _jaxbDispatcher.doGET(_url, _headerParameterValues, "application/xml");
   if (_retVal == null) {
     return null;
   }
   if (JAXBElement.class.isInstance(_retVal)) {
     JAXBElement jaxbElement = ((JAXBElement) _retVal);
     _retVal = jaxbElement.getValue();
   }
   return ((org.jetbrains.idea.maven.services.nexus.Repositories) _retVal);
 }