@Component(role=BranchHelper.class) public class BranchHelper extends Object
Constructor and Description |
---|
BranchHelper() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentBranchName() |
BranchType |
getCurrentBranchType() |
String |
getCurrentReleaseBranchNameOrBlank() |
List<org.apache.maven.project.MavenProject> |
getProjectsForCurrentBranch() |
List<org.apache.maven.project.MavenProject> |
getProjectsForTopicBranch(BranchType branchType) |
SessionAndProjects |
getSessionAndProjectsForCurrentBranch() |
String |
getTopicBranchName(BranchType branchType) |
String |
getUnprefixedCurrentBranchName() |
boolean |
releaseBranchExists() |
public List<org.apache.maven.project.MavenProject> getProjectsForCurrentBranch() throws JGitFlowException, IOException, org.eclipse.jgit.api.errors.GitAPIException, ReactorReloadException
JGitFlowException
IOException
org.eclipse.jgit.api.errors.GitAPIException
ReactorReloadException
public SessionAndProjects getSessionAndProjectsForCurrentBranch() throws JGitFlowException, IOException, org.eclipse.jgit.api.errors.GitAPIException, ReactorReloadException
JGitFlowException
IOException
org.eclipse.jgit.api.errors.GitAPIException
ReactorReloadException
public String getUnprefixedCurrentBranchName() throws JGitFlowException, IOException
JGitFlowException
IOException
public String getCurrentBranchName() throws MavenJGitFlowException
MavenJGitFlowException
public String getCurrentReleaseBranchNameOrBlank() throws MavenJGitFlowException
MavenJGitFlowException
public boolean releaseBranchExists() throws MavenJGitFlowException
MavenJGitFlowException
public BranchType getCurrentBranchType() throws JGitFlowException, IOException
JGitFlowException
IOException
public List<org.apache.maven.project.MavenProject> getProjectsForTopicBranch(BranchType branchType) throws MavenJGitFlowException
MavenJGitFlowException
public String getTopicBranchName(BranchType branchType) throws MavenJGitFlowException
MavenJGitFlowException
Copyright © 2017 Atlassian. All rights reserved.