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
FieldsModifier and TypeFieldDescriptionstatic final StringUsed to hide property configuration under checkbox, as of not each job is GitHub projectFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisApplicable(Class<? extends Job> jobType) JobProperty<?>newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstanceMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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
-
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:
isApplicablein classJobPropertyDescriptor
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<JobProperty<?>>
-
newInstance
public JobProperty<?> newInstance(@NonNull org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstancein classJobPropertyDescriptor- Throws:
Descriptor.FormException
-