Class M2ReleaseAction
- java.lang.Object
-
- org.jvnet.hudson.plugins.m2release.M2ReleaseAction
-
- All Implemented Interfaces:
Action
,ModelObject
,PermalinkProjectAction
public class M2ReleaseAction extends Object implements PermalinkProjectAction
The action appears as the link in the side bar that users will click on in order to start the release process.- Version:
- 0.3
- Author:
- James Nord, Dominik Bartholdi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.model.PermalinkProjectAction
PermalinkProjectAction.Permalink
-
-
Constructor Summary
Constructors Constructor Description M2ReleaseAction(hudson.maven.MavenModuleSet project, boolean selectCustomScmCommentPrefix, boolean selectAppendHudsonUsername, boolean selectScmCredentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
computeNextVersion()
String
computeReleaseVersion()
String
computeRepoDescription()
String
computeScmTag()
void
doSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp)
String
getDisplayName()
String
getIconFileName()
Collection<hudson.maven.MavenModule>
getModules()
ParameterDefinition
getParameterDefinition(String name)
Gets theParameterDefinition
of the given name, if any.List<ParameterDefinition>
getParameterDefinitions()
List<PermalinkProjectAction.Permalink>
getPermalinks()
hudson.maven.MavenModule
getRootModule()
String
getUrlName()
boolean
isNexusSupportEnabled()
boolean
isSelectAppendHudsonUsername()
boolean
isSelectCustomScmCommentPrefix()
boolean
isSelectCustomScmTag()
boolean
isSelectScmCredentials()
void
setSelectAppendHudsonUsername(boolean selectAppendHudsonUsername)
void
setSelectCustomScmCommentPrefix(boolean selectCustomScmCommentPrefix)
-
-
-
Method Detail
-
getParameterDefinitions
public List<ParameterDefinition> getParameterDefinitions()
-
getPermalinks
public List<PermalinkProjectAction.Permalink> getPermalinks()
- Specified by:
getPermalinks
in interfacePermalinkProjectAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
isSelectScmCredentials
public boolean isSelectScmCredentials()
-
isSelectCustomScmCommentPrefix
public boolean isSelectCustomScmCommentPrefix()
-
setSelectCustomScmCommentPrefix
public void setSelectCustomScmCommentPrefix(boolean selectCustomScmCommentPrefix)
-
isSelectAppendHudsonUsername
public boolean isSelectAppendHudsonUsername()
-
setSelectAppendHudsonUsername
public void setSelectAppendHudsonUsername(boolean selectAppendHudsonUsername)
-
isSelectCustomScmTag
public boolean isSelectCustomScmTag()
-
getModules
public Collection<hudson.maven.MavenModule> getModules()
-
getRootModule
public hudson.maven.MavenModule getRootModule()
-
computeReleaseVersion
public String computeReleaseVersion()
-
computeRepoDescription
public String computeRepoDescription()
-
computeScmTag
public String computeScmTag()
-
computeNextVersion
public String computeNextVersion()
-
isNexusSupportEnabled
public boolean isNexusSupportEnabled()
-
doSubmit
public void doSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
getParameterDefinition
public ParameterDefinition getParameterDefinition(String name)
Gets theParameterDefinition
of the given name, if any.
-
-