Class FigletBuilder.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<Builder>
hudson.tasks.BuildStepDescriptor<Builder>
org.jenkinsci.plugins.figlet_buildstep.FigletBuilder.DescriptorImpl
- Enclosing class:
FigletBuilder
@Extension
public static final class FigletBuilder.DescriptorImpl
extends BuildStepDescriptor<Builder>
Descriptor for
FigletBuilder. Used as a singleton.
The class is marked as public so that it can be accessed from views.-
Nested Class Summary
Nested classes/interfaces inherited from class Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class Descriptor
clazz -
Constructor Summary
ConstructorsConstructorDescriptionIn order to load the persisted global configuration, you have to call load() in the constructor. -
Method Summary
Modifier and TypeMethodDescriptiondoCheckMessage(String value) Performs on-the-fly validation of the form field 'message'.This human-readable name is used in the configuration screen.booleanisApplicable(Class<? extends AbstractProject> aClass) Methods inherited from class BuildStepDescriptor
filterMethods inherited from class 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()In order to load the persisted global configuration, you have to call load() in the constructor.
-
-
Method Details
-
doCheckMessage
public FormValidation doCheckMessage(@QueryParameter String value) throws IOException, jakarta.servlet.ServletException Performs on-the-fly validation of the form field 'message'.- Parameters:
value- This parameter receives the value that the user has typed.- Returns:
- Indicates the outcome of the validation. This is sent to the browser.
- Throws:
IOExceptionjakarta.servlet.ServletException
-
isApplicable
- Specified by:
isApplicablein classBuildStepDescriptor<Builder>
-
getDisplayName
This human-readable name is used in the configuration screen.- Overrides:
getDisplayNamein classDescriptor<Builder>
-