Package hudson.plugins.copyartifact
Class CopyArtifactPermissionProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
hudson.plugins.copyartifact.CopyArtifactPermissionProperty.DescriptorImpl
- Enclosing class:
- CopyArtifactPermissionProperty
@Extension
@Symbol("copyArtifactPermission")
public static class CopyArtifactPermissionProperty.DescriptorImpl
extends JobPropertyDescriptor
Descriptor for 
CopyArtifactPermissionProperty.- 
Nested Class SummaryNested classes/interfaces inherited from class hudson.model.DescriptorDescriptor.FormException, Descriptor.PropertyType, Descriptor.Self
- 
Field SummaryFields inherited from class hudson.model.Descriptorclazz
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoAutoCompleteProjectNames(String value, Job<?, ?> currentJob) Provides candidates for project name autocompletion.doCheckProjectNames(String projectNames, Job<?, ?> job) Checks the provided projects exist in the provided context.newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) Creates a new property.Methods inherited from class hudson.model.JobPropertyDescriptorall, getPropertyDescriptors, isApplicable, newInstanceMethods inherited from class hudson.model.DescriptoraddHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
- 
Constructor Details- 
DescriptorImplpublic DescriptorImpl()
 
- 
- 
Method Details- 
getDisplayName- Overrides:
- getDisplayNamein class- Descriptor<JobProperty<?>>
- Returns:
- name displayed in the project configuration page.
- See Also:
 
- 
getPropertyName- Returns:
- key name used in the configuration form.
 
- 
newInstancepublic CopyArtifactPermissionProperty newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException Creates a new property.- Overrides:
- newInstancein class- JobPropertyDescriptor
- Parameters:
- req- Request.
- formData- Form data.
- Returns:
- The created property.
- Throws:
- Descriptor.FormException- If an error occurs parsing the form data.
- See Also:
 
- 
doCheckProjectNamespublic FormValidation doCheckProjectNames(@QueryParameter String projectNames, @CheckForNull @AncestorInPath Job<?, ?> job) Checks the provided projects exist in the provided context.- Parameters:
- projectNames- Projects to check.
- job- the configuring job.
- Returns:
- ok if all projects are found and a warning otherwise.
 
- 
doAutoCompleteProjectNamespublic AutoCompletionCandidates doAutoCompleteProjectNames(@QueryParameter String value, @CheckForNull @AncestorInPath Job<?, ?> currentJob) Provides candidates for project name autocompletion.- Parameters:
- value- Seed value.
- currentJob- job the configuring job.
- Returns:
- The proposed project candidates.
 
 
-