Package jenkins.plugins.nodejs
Class NodeJSBuildWrapper.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
jenkins.plugins.nodejs.NodeJSBuildWrapper.DescriptorImpl
- Enclosing class:
- NodeJSBuildWrapper
@Symbol("nodejs")
@Extension
public static final class NodeJSBuildWrapper.DescriptorImpl
extends BuildWrapperDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckConfigId
(ItemGroup<?> context, String configId) Verify that the given configId exists in the given context.doFillConfigIdItems
(ItemGroup<?> context) Gather all defined npmrc config files.boolean
isApplicable
(AbstractProject<?, ?> item) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
getInstallations
-
doFillConfigIdItems
Gather all defined npmrc config files.- Parameters:
context
- where lookup- Returns:
- a collection of user npmrc files.
-
doCheckConfigId
public FormValidation doCheckConfigId(@Nullable @AncestorInPath ItemGroup<?> context, @CheckForNull @QueryParameter String configId) Verify that the given configId exists in the given context.- Parameters:
context
- where lookupconfigId
- the identifier of an npmrc file- Returns:
- an validation form for the given npmrc file identifier.
-