Package com.google.gerrit.extensions.common

Examples of com.google.gerrit.extensions.common.FetchInfo


            public void consume(ChangeInfo changeDetails) {

                Optional<GitRepository> gitRepository = gerritGitUtil.getRepositoryForGerritProject(project, changeDetails.project);
                if (!gitRepository.isPresent()) return;

                FetchInfo firstFetchInfo = gerritUtil.getFirstFetchInfo(changeDetails);
                if (firstFetchInfo == null) {
                    return;
                }
                String ref = firstFetchInfo.ref;
                String url = firstFetchInfo.url;
View Full Code Here


            fetchChange(revisionInfo, fetchCallback);
        }
    }

    private void fetchChange(RevisionInfo revisionInfo, FetchCallback fetchCallback) {
        FetchInfo fetchInfo = gerritUtil.getFirstFetchInfo(revisionInfo);
        if (fetchInfo == null) {
            notifyError();
        } else {
            String ref = fetchInfo.ref;
            String url = fetchInfo.url;
View Full Code Here

TOP

Related Classes of com.google.gerrit.extensions.common.FetchInfo

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.