![JAR search and dependency download from the Maven repository](/logo.png)
com.atlassian.maven.jgitflow.api.FinishProductionBranchExtension Maven / Gradle / Ivy
package com.atlassian.maven.jgitflow.api;
import com.atlassian.jgitflow.core.JGitFlowInfo;
import com.atlassian.maven.jgitflow.api.exception.MavenJGitFlowExtensionException;
public interface FinishProductionBranchExtension extends MavenJGitFlowExtension
{
/**
* Called when the version changes on the master branch.
*
* This method is called AFTER the poms have been committed.
* Any changes made to the project within this method will need to also be committed within this method.
* A helper class is provided to make this easier. {@link com.atlassian.maven.jgitflow.api.util.JGitFlowCommitHelper}
*
* @throws com.atlassian.maven.jgitflow.api.exception.MavenJGitFlowExtensionException
*/
void onMasterBranchVersionChange(String newVersion, String oldVersion, JGitFlowInfo flow) throws MavenJGitFlowExtensionException;
/**
* Called when the version changes on "topic" branches.
* These are release/hotfix/feature branches.
*
* This method is called AFTER the poms have been committed.
* Any changes made to the project within this method will need to also be committed within this method.
* A helper class is provided to make this easier. {@link com.atlassian.maven.jgitflow.api.util.JGitFlowCommitHelper}
*
* @throws com.atlassian.maven.jgitflow.api.exception.MavenJGitFlowExtensionException
*/
void onTopicBranchVersionChange(String newVersion, String oldVersion, JGitFlowInfo flow) throws MavenJGitFlowExtensionException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy