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