Package hudson.plugins.robot
Class RobotPublisher.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- hudson.plugins.robot.RobotPublisher.DescriptorImpl
-
- Enclosing class:
- RobotPublisher
@Extension public static final class RobotPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor for the publisher
-
-
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
doCheckPassThreshold(String value)
Validates the pass threshold input field.FormValidation
doCheckUnstableThreshold(String value)
Validates the unstable threshold input field.String
getDisplayName()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
-
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
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
doCheckUnstableThreshold
public FormValidation doCheckUnstableThreshold(@QueryParameter String value) throws IOException, javax.servlet.ServletException
Validates the unstable threshold input field.- Parameters:
value
- Value to be checked for the threshold- Returns:
- OK if value is within threshold
- Throws:
IOException
- thrown exceptionjavax.servlet.ServletException
- thrown exception
-
doCheckPassThreshold
public FormValidation doCheckPassThreshold(@QueryParameter String value) throws IOException, javax.servlet.ServletException
Validates the pass threshold input field.- Parameters:
value
- Value to be checked for the threshold- Returns:
- OK if value is within threshold
- Throws:
IOException
- thrown exceptionjavax.servlet.ServletException
- thrown exception
-
-