Package org.reviewboard.rbjenkins.steps
Class ReviewBoardNotifier.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- 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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidationdoCheckReviewBoardServer(String value)This validates the Review Board server configuration name.StringgetDisplayName()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
filter
-
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
-
doCheckReviewBoardServer
public FormValidation doCheckReviewBoardServer(@QueryParameter String value)
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
public boolean isApplicable(Class<? extends AbstractProject> aClass)
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
public String 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
-
-