Package org.reviewboard.rbjenkins.steps
Class ReviewBoardSetup.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- org.reviewboard.rbjenkins.steps.ReviewBoardSetup.DescriptorImpl
-
- Enclosing class:
- ReviewBoardSetup
@Symbol("publishReview") @Extension public static final class ReviewBoardSetup.DescriptorImpl extends BuildStepDescriptor<Builder>
Provides the description of the setup build step and validation functions for fields in its 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 FormValidation
doCheckReviewBoardServer(String value)
This validates the Review Board server configuration name.String
getDisplayName()
Returns the display name for this build step, as shown in the Jenkins GUI.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.-
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:
isApplicable
in classBuildStepDescriptor<Builder>
- 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:
getDisplayName
in classDescriptor<Builder>
- Returns:
- Setup build step display name
-
-