org.jvnet.hudson.plugins.m2release
Class M2ReleaseAction
java.lang.Object
org.jvnet.hudson.plugins.m2release.M2ReleaseAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject
public class M2ReleaseAction
- extends java.lang.Object
- implements hudson.model.Action
The action appears as the link in the side bar that users will click on in order to start the release
process.
- Version:
- 0.2
- Author:
- James Nord
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
M2ReleaseAction
public M2ReleaseAction(hudson.maven.MavenModuleSet project)
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getIconFileName
public java.lang.String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getUrlName
public java.lang.String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
getModules
public java.util.Collection<hudson.maven.MavenModule> getModules()
computeReleaseVersion
public java.lang.String computeReleaseVersion(java.lang.String version)
computeNextVersion
public java.lang.String computeNextVersion(java.lang.String version)
doSubmit
public void doSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2009. All Rights Reserved.