Class GitSCMStatusChecksExtension.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<hudson.plugins.git.extensions.GitSCMExtension>
-
- hudson.plugins.git.extensions.GitSCMExtensionDescriptor
-
- io.jenkins.plugins.checks.github.status.GitSCMStatusChecksExtension.DescriptorImpl
-
- Enclosing class:
- GitSCMStatusChecksExtension
@Extension public static class GitSCMStatusChecksExtension.DescriptorImpl extends hudson.plugins.git.extensions.GitSCMExtensionDescriptor
Descriptor implementation forGitSCMStatusChecksExtension
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
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 FormValidation
doCheckName(String name)
Checks if the name of status checks is valid.String
getDisplayName()
Returns the display name.-
Methods inherited from class hudson.plugins.git.extensions.GitSCMExtensionDescriptor
all, isApplicable
-
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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Returns the display name.- Overrides:
getDisplayName
in classDescriptor<hudson.plugins.git.extensions.GitSCMExtension>
- Returns:
- "Status Checks Properties"
-
doCheckName
public FormValidation doCheckName(@QueryParameter String name)
Checks if the name of status checks is valid.- Parameters:
name
- name of status checks- Returns:
- ok if the name is not empty
-
-