Examples of VcsBranchImpl


Examples of com.atlassian.bamboo.plan.branch.VcsBranchImpl

        repositoryData.repository = config.getString(Constants.PLASTIC_REPOSITORY, Constants.PLASTIC_DEFAULT_REPOSITORY_NAME);
        repositoryData.repositoryserver = config.getString(Constants.PLASTIC_REPOSITORYSERVER, Utils.getDefaultRepServer());
        repositoryData.branch = config.getString(Constants.PLASTIC_BRANCH_TO_TRACK, Constants.MAIN);

        vcsBranch = new VcsBranchImpl(StringUtils.defaultIfEmpty(repositoryData.branch, Constants.MAIN));

        log.debug("populateFromConfig: "+ repositoryData.printValues());
  }
View Full Code Here

Examples of com.atlassian.bamboo.plan.branch.VcsBranchImpl

            WhereClauseBuilder whereBuilder = new WhereClauseBuilder();
            whereBuilder.addClause("parent", "=", currentMainTrackedBranch.getFullBranchNameWithoutBranchPreffix());
            BranchInfo[] branchesByName = QueryCommands.GetBranches(Utils.getRepositorySpec(repositoryData), whereBuilder.getWhereString());
            log.debug("Getting open branches from branch"+ repositoryData.branch + ". Count: " + branchesByName.length);
            for(BranchInfo br : branchesByName) {
                openBranches.add(new VcsBranchImpl(br.getFullBranchNameWithoutBranchPreffix()));
            }
        } catch (PlasticException e) {
            throw new RepositoryException(String.format(
                   "getOpenBranches: An error occurred when retrieving child branches of branch:%s",repositoryData.branch), e);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.