Class M2ReleaseBuildWrapper.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<BuildWrapper>
-
- hudson.tasks.BuildWrapperDescriptor
-
- org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
-
- Enclosing class:
- M2ReleaseBuildWrapper
@Extension public static class M2ReleaseBuildWrapper.DescriptorImpl extends BuildWrapperDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description static Permission
CREATE_RELEASE
static String
DEFAULT_DEV_VERSION_ENVVAR
static String
DEFAULT_DRYRUN_ENVVAR
static String
DEFAULT_DRYRUN_GOALS
static int
DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP
static String
DEFAULT_RELEASE_ENVVAR
static String
DEFAULT_RELEASE_GOALS
static String
DEFAULT_RELEASE_VERSION_ENVVAR
static boolean
DEFAULT_SELECT_APPEND_HUDSON_USERNAME
static boolean
DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX
static boolean
DEFAULT_SELECT_SCM_CREDENTIALS
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject json)
FormValidation
doUrlCheck(String urlValue, String usernameValue, Secret passwordValue)
Checks if the Nexus URL exists and we can authenticate against it.String
getDisplayName()
Secret
getNexusPassword()
String
getNexusURL()
String
getNexusUser()
boolean
isApplicable(AbstractProject<?,?> item)
boolean
isNexusSupport()
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
CREATE_RELEASE
public static final Permission CREATE_RELEASE
-
DEFAULT_RELEASE_GOALS
public static final String DEFAULT_RELEASE_GOALS
- See Also:
- Constant Field Values
-
DEFAULT_DRYRUN_GOALS
public static final String DEFAULT_DRYRUN_GOALS
- See Also:
- Constant Field Values
-
DEFAULT_RELEASE_ENVVAR
public static final String DEFAULT_RELEASE_ENVVAR
- See Also:
- Constant Field Values
-
DEFAULT_RELEASE_VERSION_ENVVAR
public static final String DEFAULT_RELEASE_VERSION_ENVVAR
- See Also:
- Constant Field Values
-
DEFAULT_DEV_VERSION_ENVVAR
public static final String DEFAULT_DEV_VERSION_ENVVAR
- See Also:
- Constant Field Values
-
DEFAULT_DRYRUN_ENVVAR
public static final String DEFAULT_DRYRUN_ENVVAR
- See Also:
- Constant Field Values
-
DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX
public static final boolean DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_SELECT_APPEND_HUDSON_USERNAME
public static final boolean DEFAULT_SELECT_APPEND_HUDSON_USERNAME
- See Also:
- Constant Field Values
-
DEFAULT_SELECT_SCM_CREDENTIALS
public static final boolean DEFAULT_SELECT_SCM_CREDENTIALS
- See Also:
- Constant Field Values
-
DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP
public static final int DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP
- See Also:
- Constant Field Values
-
-
Method Detail
-
isApplicable
public boolean isApplicable(AbstractProject<?,?> item)
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
getNexusURL
public String getNexusURL()
-
getNexusUser
public String getNexusUser()
-
getNexusPassword
public Secret getNexusPassword()
-
isNexusSupport
public boolean isNexusSupport()
-
doUrlCheck
@POST public FormValidation doUrlCheck(@QueryParameter String urlValue, @QueryParameter String usernameValue, @QueryParameter Secret passwordValue)
Checks if the Nexus URL exists and we can authenticate against it.
-
-