Package jetbrains.buildServer.issueTracker

Examples of jetbrains.buildServer.issueTracker.IssueData


        public IssueData fetch() {
           String url = getApiUrl(host, id);
           LOGGER.debug(String.format("Fetching issue data from %s", url));
           try {
               InputStream json = fetchHttpFile(url, credentials);
               IssueData result = parseIssue(json);
               LOGGER.debug(result.toString());
               return result;
           }   catch (IOException e) {
               LOGGER.fatal(e);
               throw new RuntimeException("Error fetching issue data", e);
           }
View Full Code Here


        }

        private IssueData parseIssue(final InputStream _json) {
            GithubIssue issue = Json.fromJson(_json, GithubIssue.class);
            String url = getUrl(host, id);
            IssueData result = new IssueData(id, issue.title, issue.state, url, issue.isResolved());
            return result;
        }
View Full Code Here

TOP

Related Classes of jetbrains.buildServer.issueTracker.IssueData

Copyright © 2018 www.massapicom. 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.