Package com.coravy.hudson.plugins.github
Class GithubProjectProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
com.coravy.hudson.plugins.github.GithubProjectProperty.DescriptorImpl
- Enclosing class:
GithubProjectProperty
@Extension
@Symbol("githubProjectProperty")
public static final class GithubProjectProperty.DescriptorImpl
extends JobPropertyDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Used to hide property configuration under checkbox, as of not each job is GitHub projectFields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isApplicable
(Class<? extends Job> jobType) JobProperty
<?> newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors
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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
GITHUB_PROJECT_BLOCK_NAME
Used to hide property configuration under checkbox, as of not each job is GitHub project- See Also:
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
- Overrides:
isApplicable
in classJobPropertyDescriptor
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
newInstance
public JobProperty<?> newInstance(@NonNull org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classJobPropertyDescriptor
- Throws:
Descriptor.FormException
-