@Extension @Symbol(value="copyArtifactPermission") public static class CopyArtifactPermissionProperty.DescriptorImpl extends JobPropertyDescriptor
CopyArtifactPermissionProperty
.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
AutoCompletionCandidates |
doAutoCompleteProjectNames(String value,
Job<?,?> currentJob)
Provides candidates for project name autocompletion.
|
FormValidation |
doCheckProjectNames(String projectNames,
Job<?,?> job)
Checks the provided projects exist in the provided context.
|
String |
getDisplayName() |
String |
getPropertyName() |
CopyArtifactPermissionProperty |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Creates a new property.
|
all, getPropertyDescriptors, isApplicable
addHelpFileRedirect, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class Descriptor<JobProperty<?>>
Descriptor.getDisplayName()
public String getPropertyName()
public CopyArtifactPermissionProperty newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
newInstance
in class JobPropertyDescriptor
req
- Request.formData
- Form data.Descriptor.FormException
- If an error occurs parsing the form data.JobPropertyDescriptor.newInstance(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)
public FormValidation doCheckProjectNames(@QueryParameter String projectNames, @CheckForNull @AncestorInPath Job<?,?> job)
projectNames
- Projects to check.job
- the configuring job.public AutoCompletionCandidates doAutoCompleteProjectNames(@QueryParameter String value, @CheckForNull @AncestorInPath Job<?,?> currentJob)
value
- Seed value.currentJob
- job the configuring job.Copyright © 2016–2022. All rights reserved.