Class UnleashMavenBuildWrapper.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
com.itemis.jenkins.plugins.unleash.UnleashMavenBuildWrapper.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
UnleashMavenBuildWrapper

@Extension public static class UnleashMavenBuildWrapper.DescriptorImpl extends BuildWrapperDescriptor
  • Field Details

    • DEFAULT_GOALS

      public static final String DEFAULT_GOALS
      See Also:
    • DEFAULT_PROFILES

      public static final String DEFAULT_PROFILES
      See Also:
    • DEFAULT_RELEASE_ARGS

      public static final String DEFAULT_RELEASE_ARGS
      See Also:
    • DEFAULT_USE_LOG_TIMESTAMPS

      public static final boolean DEFAULT_USE_LOG_TIMESTAMPS
      See Also:
    • DEFAULT_TAG_NAME_PATTERN

      public static final String DEFAULT_TAG_NAME_PATTERN
      See Also:
    • DEFAULT_SCM_MESSAGE_PREFIX

      public static final String DEFAULT_SCM_MESSAGE_PREFIX
      See Also:
    • DEFAULT_PRESELECT_USE_GLOBAL_VERSION

      public static final boolean DEFAULT_PRESELECT_USE_GLOBAL_VERSION
      See Also:
    • DEFAULT_PRESELECT_ALLOW_LOCAL_RELEASE_ARTIFACTS

      public static final boolean DEFAULT_PRESELECT_ALLOW_LOCAL_RELEASE_ARTIFACTS
      See Also:
    • DEFAULT_PRESELECT_COMMIT_BEFORE_TAGGING

      public static final boolean DEFAULT_PRESELECT_COMMIT_BEFORE_TAGGING
      See Also:
    • DEFAULT_WORKFLOW_PATH

      public static final String DEFAULT_WORKFLOW_PATH
      See Also:
    • DEFAULT_NUMBER_OF_LOCKED_BUILDS

      public static final int DEFAULT_NUMBER_OF_LOCKED_BUILDS
      See Also:
    • DEFAULT_VERSION_UPGRADE_STRATEGY

      public static final com.itemis.maven.plugins.unleash.util.VersionUpgradeStrategy DEFAULT_VERSION_UPGRADE_STRATEGY
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • setUseLogTimestamps

      public void setUseLogTimestamps(boolean useLogTimestamps)
    • isUseLogTimestamps

      public boolean isUseLogTimestamps()
    • setPreselectAllowLocalReleaseArtifacts

      public void setPreselectAllowLocalReleaseArtifacts(boolean preselectAllowLocalReleaseArtifacts)
    • isPreselectAllowLocalReleaseArtifacts

      public boolean isPreselectAllowLocalReleaseArtifacts()
    • setPreselectCommitBeforeTagging

      public void setPreselectCommitBeforeTagging(boolean preselectCommitBeforeTagging)
    • isPreselectCommitBeforeTagging

      public boolean isPreselectCommitBeforeTagging()
    • setTagNamePattern

      public void setTagNamePattern(String tagNamePattern)
    • getTagNamePattern

      public String getTagNamePattern()
    • setScmMessagePrefix

      public void setScmMessagePrefix(String scmMessagePrefix)
    • getScmMessagePrefix

      public String getScmMessagePrefix()
    • isApplicable

      public boolean isApplicable(AbstractProject<?,?> item)
      Specified by:
      isApplicable in class BuildWrapperDescriptor
    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<BuildWrapper>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<BuildWrapper>
      Throws:
      Descriptor.FormException
    • doFillCredentialsIdItems

      @POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String credentialsId)
    • doFillVersionUpgradeStrategyItems

      @POST public ListBoxModel doFillVersionUpgradeStrategyItems()