Class UnleashMavenBuildWrapper.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
com.itemis.jenkins.plugins.unleash.UnleashMavenBuildWrapper.DescriptorImpl
- Enclosing class:
- UnleashMavenBuildWrapper
@Extension
public static class UnleashMavenBuildWrapper.DescriptorImpl
extends BuildWrapperDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final int
static final boolean
static final boolean
static final boolean
static final String
static final String
static final String
static final String
static final boolean
static final com.itemis.maven.plugins.unleash.util.VersionUpgradeStrategy
static final String
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) doFillCredentialsIdItems
(Item context, String credentialsId) boolean
isApplicable
(AbstractProject<?, ?> item) boolean
boolean
boolean
void
setPreselectAllowLocalReleaseArtifacts
(boolean preselectAllowLocalReleaseArtifacts) void
setPreselectCommitBeforeTagging
(boolean preselectCommitBeforeTagging) void
setScmMessagePrefix
(String scmMessagePrefix) void
setTagNamePattern
(String tagNamePattern) void
setUseLogTimestamps
(boolean useLogTimestamps) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
DEFAULT_GOALS
- See Also:
-
DEFAULT_PROFILES
- See Also:
-
DEFAULT_RELEASE_ARGS
- See Also:
-
DEFAULT_USE_LOG_TIMESTAMPS
public static final boolean DEFAULT_USE_LOG_TIMESTAMPS- See Also:
-
DEFAULT_TAG_NAME_PATTERN
- See Also:
-
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
- 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
-
getTagNamePattern
-
setScmMessagePrefix
-
getScmMessagePrefix
-
isApplicable
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
doFillCredentialsIdItems
@POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String credentialsId) -
doFillVersionUpgradeStrategyItems
-