Class M2ReleaseBuildWrapper.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
- Enclosing class:
M2ReleaseBuildWrapper
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Permissionstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final booleanstatic final booleanstatic final booleanFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 staplerRequest, net.sf.json.JSONObject json) doUrlCheck(String urlValue, String usernameValue, Secret value) Checks if the Nexus URL exists and we can authenticate against it.booleanisApplicable(AbstractProject<?, ?> item) booleanMethods 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
-
CREATE_RELEASE
-
DEFAULT_RELEASE_GOALS
- See Also:
-
DEFAULT_DRYRUN_GOALS
- See Also:
-
DEFAULT_RELEASE_ENVVAR
- See Also:
-
DEFAULT_RELEASE_VERSION_ENVVAR
- See Also:
-
DEFAULT_DEV_VERSION_ENVVAR
- See Also:
-
DEFAULT_DRYRUN_ENVVAR
- See Also:
-
DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX
public static final boolean DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX- See Also:
-
DEFAULT_SELECT_APPEND_HUDSON_USERNAME
public static final boolean DEFAULT_SELECT_APPEND_HUDSON_USERNAME- See Also:
-
DEFAULT_SELECT_SCM_CREDENTIALS
public static final boolean DEFAULT_SELECT_SCM_CREDENTIALS- See Also:
-
DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP
public static final int DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP- See Also:
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicablein classBuildWrapperDescriptor
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 staplerRequest, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classDescriptor<BuildWrapper>- Throws:
Descriptor.FormException
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<BuildWrapper>
-
getNexusURL
-
getNexusUser
-
getNexusPassword
-
isNexusSupport
public boolean isNexusSupport() -
doUrlCheck
@POST public FormValidation doUrlCheck(@QueryParameter("m2release.nexusURL") String urlValue, @QueryParameter("m2release.nexusUser") String usernameValue, @QueryParameter Secret value) Checks if the Nexus URL exists and we can authenticate against it.
-