Class UnleashAction

java.lang.Object
com.itemis.jenkins.plugins.unleash.UnleashAction
All Implemented Interfaces:
Action, ModelObject, PermalinkProjectAction

public class UnleashAction extends Object implements PermalinkProjectAction
Author:
Stanley Hillner
  • Field Details

    • PERMISSIONS

      public static final PermissionGroup PERMISSIONS
    • RELEASE_PERMISSION

      public static final Permission RELEASE_PERMISSION
      Permission to trigger release builds.
  • Constructor Details

    • UnleashAction

      public UnleashAction(hudson.maven.MavenModuleSet project, boolean useGlobalVersion, boolean allowLocalReleaseArtifacts, boolean commitBeforeTagging, boolean errorLog, boolean debugLog, com.itemis.maven.plugins.unleash.util.VersionUpgradeStrategy versionUpgradeStrategy, String tagNamePattern, String scmMessagePrefix)
  • Method Details

    • getParameterDefinitions

      public List<ParameterDefinition> getParameterDefinitions()
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • getPermalinks

      public List<PermalinkProjectAction.Permalink> getPermalinks()
      Specified by:
      getPermalinks in interface PermalinkProjectAction
    • computeReleaseVersion

      public String computeReleaseVersion()
    • computeReleaseVersion

      public String computeReleaseVersion(hudson.maven.MavenModule module)
    • computeNextDevelopmentVersion

      public String computeNextDevelopmentVersion()
    • computeNextDevelopmentVersion

      public String computeNextDevelopmentVersion(hudson.maven.MavenModule module)
    • isUseGlobalVersion

      public boolean isUseGlobalVersion()
    • isNotUseGlobalVersion

      public boolean isNotUseGlobalVersion()
    • setUseGlobalVersion

      public void setUseGlobalVersion(boolean useGlobalVersion)
    • isAllowLocalReleaseArtifacts

      public boolean isAllowLocalReleaseArtifacts()
    • setAllowLocalReleaseArtifacts

      public void setAllowLocalReleaseArtifacts(boolean allowLocalReleaseArtifacts)
    • isCommitBeforeTagging

      public boolean isCommitBeforeTagging()
    • setCommitBeforeTagging

      public void setCommitBeforeTagging(boolean commitBeforeTagging)
    • isErrorLog

      public boolean isErrorLog()
    • setErrorLog

      public void setErrorLog(boolean errorLog)
    • isDebugLog

      public boolean isDebugLog()
    • setDebugLog

      public void setDebugLog(boolean debugLog)
    • getTagNamePattern

      public String getTagNamePattern()
    • setTagNamePattern

      public void setTagNamePattern(String tagNamePattern)
    • getScmMessagePrefix

      public String getScmMessagePrefix()
    • setScmMessagePrefix

      public void setScmMessagePrefix(String scmMessagePrefix)
    • getAllMavenModules

      public List<hudson.maven.MavenModule> getAllMavenModules()
    • doSubmit

      @POST public void doSubmit(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 resp) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getParameterDefinition

      public ParameterDefinition getParameterDefinition(String name)