Package org.reviewboard.rbjenkins.steps
Class ReviewBoardNotifier.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
org.reviewboard.rbjenkins.steps.ReviewBoardNotifier.DescriptorImpl
- Enclosing class:
ReviewBoardNotifier
@Symbol("notifyReviewBoard")
@Extension
public static final class ReviewBoardNotifier.DescriptorImpl
extends BuildStepDescriptor<Publisher>
Provides the description of the notification build step and validation
functions for fields in its configuration form.
-
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 -
Method Summary
Modifier and TypeMethodDescriptiondoCheckReviewBoardServer(String value) This validates the Review Board server configuration name.Returns the display name for this build step, as shown in the Jenkins GUI.booleanisApplicable(Class<? extends AbstractProject> aClass) Informs Jenkins of whether or not this build step is applicable to the current job, which it always is.Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods 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, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
doCheckReviewBoardServer
This validates the Review Board server configuration name. Mostly it checks if there has been a server configuration created.- Parameters:
value- Review Board server config name- Returns:
- FormValidation
-
isApplicable
Informs Jenkins of whether or not this build step is applicable to the current job, which it always is.- Specified by:
isApplicablein classBuildStepDescriptor<Publisher>- Parameters:
aClass- The project class- Returns:
- true
-
getDisplayName
Returns the display name for this build step, as shown in the Jenkins GUI.- Overrides:
getDisplayNamein classDescriptor<Publisher>- Returns:
- Notification build step display name
-