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
Fields Modifier and Type Field Description static String
GITHUB_PROJECT_BLOCK_NAME
Used to hide property configuration under checkbox, as of not each job is GitHub project-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
boolean
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 Detail
-
GITHUB_PROJECT_BLOCK_NAME
public static final String GITHUB_PROJECT_BLOCK_NAME
Used to hide property configuration under checkbox, as of not each job is GitHub project- See Also:
- Constant Field Values
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends Job> jobType)
- Overrides:
isApplicable
in classJobPropertyDescriptor
-
getDisplayName
public String 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
-
-