Class GitHubSCMSourceStatusChecksTrait.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTraitDescriptor
io.jenkins.plugins.checks.github.status.GitHubSCMSourceStatusChecksTrait.DescriptorImpl
- Enclosing class:
- GitHubSCMSourceStatusChecksTrait
@Symbol("gitHubStatusChecks")
@Extension
@Discovery
public static class GitHubSCMSourceStatusChecksTrait.DescriptorImpl
extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Descriptor implementation for
GitHubSCMSourceStatusChecksTrait
.-
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
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckName
(String name) Checks if the name of status checks is valid.Class<? extends jenkins.scm.api.trait.SCMSourceContext>
TheGitHubSCMSourceStatusChecksTrait
is only applicable toGitHubSCMSourceContext
.Returns the display name.Class<? extends jenkins.scm.api.SCMSource>
TheGitHubSCMSourceStatusChecksTrait
is only applicable toGitHubSCMSource
.Methods inherited from class jenkins.scm.api.trait.SCMSourceTraitDescriptor
getBuilderClass, isApplicableTo, isApplicableTo, isApplicableTo, isApplicableToBuilder, isApplicableToBuilder, isApplicableToContext, isApplicableToContext
Methods inherited from class jenkins.scm.api.trait.SCMTraitDescriptor
getScmClass, isApplicableToSCM, isApplicableToSCM
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
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
Returns the display name.- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
- Returns:
- "Status Checks Properties"
-
getContextClass
TheGitHubSCMSourceStatusChecksTrait
is only applicable toGitHubSCMSourceContext
.- Overrides:
getContextClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
- Returns:
GitHubSCMSourceContext
.class
-
getSourceClass
TheGitHubSCMSourceStatusChecksTrait
is only applicable toGitHubSCMSource
.- Overrides:
getSourceClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
- Returns:
GitHubSCMSource
.class
-
doCheckName
Checks if the name of status checks is valid.- Parameters:
name
- name of status checks- Returns:
- ok if the name is not empty
-