Package br.edu.utfpr.cm.JGitMinerWeb.model.miner

Examples of br.edu.utfpr.cm.JGitMinerWeb.model.miner.EntityPullRequestMarker


        }

        EntityRepository repository = RepositoryServices.createEntity(gitPullReqMaker.getRepo(), dao, false);
        EntityUser user = UserServices.createEntity(gitPullReqMaker.getUser(), dao, false);

        EntityPullRequestMarker pullReMaker = getByRefRepoUser(gitPullReqMaker.getRef(), repository, user, dao);

        if (pullReMaker == null) {
            pullReMaker = new EntityPullRequestMarker();
            pullReMaker.setMineredAt(new Date());
            pullReMaker.setLabel(gitPullReqMaker.getLabel());
            pullReMaker.setRefPullRequestMarker(gitPullReqMaker.getRef());
            pullReMaker.setRepo(repository);
            pullReMaker.setSha(gitPullReqMaker.getSha());
            pullReMaker.setUser(user);

            dao.insert(pullReMaker);
        }

        return pullReMaker;
View Full Code Here

TOP

Related Classes of br.edu.utfpr.cm.JGitMinerWeb.model.miner.EntityPullRequestMarker

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.