Package io.jenkins.plugins.finitestate
Class BaseFiniteStateDescriptor
java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
io.jenkins.plugins.finitestate.BaseFiniteStateDescriptor
- Direct Known Subclasses:
FiniteStateAnalyzeBinaryRecorder.DescriptorImpl,FiniteStateSBOMImportRecorder.DescriptorImpl,FiniteStateThirdPartyImportRecorder.DescriptorImpl
Abstract base descriptor class for all Finite State recorders.
Contains common descriptor functionality shared across different analysis types.
-
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 TypeMethodDescriptionprotected FormValidationcheckRequiredValue(String value) Common validation helper for required valuesdoCheckApiTokenCredentialsId(Item item, String value) Common API token credentials validationdoCheckProjectName(Item item, String value) Common project name validationdoCheckSubdomain(Item item, String value) Common subdomain validationdoFillApiTokenCredentialsIdItems(Item item, String apiTokenCredentialsId) Populate the dropdown for apiTokenCredentialsId from Jenkins credentials.booleanisApplicable(Class<? extends AbstractProject> aClass) Common applicability checkMethods 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, getDisplayName, 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
-
BaseFiniteStateDescriptor
protected BaseFiniteStateDescriptor()
-
-
Method Details
-
doFillApiTokenCredentialsIdItems
public ListBoxModel doFillApiTokenCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String apiTokenCredentialsId) Populate the dropdown for apiTokenCredentialsId from Jenkins credentials. -
checkRequiredValue
Common validation helper for required values -
doCheckSubdomain
public FormValidation doCheckSubdomain(@AncestorInPath Item item, @QueryParameter String value) throws IOException, javax.servlet.ServletException Common subdomain validation- Throws:
IOExceptionjavax.servlet.ServletException
-
doCheckApiTokenCredentialsId
public FormValidation doCheckApiTokenCredentialsId(@AncestorInPath Item item, @QueryParameter String value) throws IOException, javax.servlet.ServletException Common API token credentials validation- Throws:
IOExceptionjavax.servlet.ServletException
-
doCheckProjectName
public FormValidation doCheckProjectName(@AncestorInPath Item item, @QueryParameter String value) throws IOException, javax.servlet.ServletException Common project name validation- Throws:
IOExceptionjavax.servlet.ServletException
-
isApplicable
Common applicability check- Specified by:
isApplicablein classBuildStepDescriptor<Publisher>
-