Class SimpleReferenceRecorder.SimpleReferenceRecorderDescriptor
java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
io.jenkins.plugins.forensics.reference.SimpleReferenceRecorder.SimpleReferenceRecorderDescriptor
- Enclosing class:
SimpleReferenceRecorder
@Extension
@Symbol("discoverReferenceBuild")
public static class SimpleReferenceRecorder.SimpleReferenceRecorderDescriptor
extends BuildStepDescriptor<Publisher>
Descriptor for this step: defines the context and the UI data binding and validation.
-
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
ConstructorsModifierConstructorDescriptionCreates a new descriptor with the concrete services.protected
SimpleReferenceRecorderDescriptor
(io.jenkins.plugins.util.JenkinsFacade jenkins) -
Method Summary
Modifier and TypeMethodDescriptiondoCheckReferenceJob
(BuildableItem project, String referenceJob) Performs on-the-fly validation of the reference job.doFillReferenceJobItems
(BuildableItem project) Returns the model with the possible reference jobs.doFillRequiredResultItems
(BuildableItem project) Returns the model with the possible build results.boolean
isApplicable
(Class<? extends AbstractProject> jobType) Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods 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, 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
-
SimpleReferenceRecorderDescriptor
public SimpleReferenceRecorderDescriptor()Creates a new descriptor with the concrete services. -
SimpleReferenceRecorderDescriptor
protected SimpleReferenceRecorderDescriptor(io.jenkins.plugins.util.JenkinsFacade jenkins)
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
doFillReferenceJobItems
Returns the model with the possible reference jobs.- Parameters:
project
- the project that is configured- Returns:
- the model with the possible reference jobs
-
doCheckReferenceJob
@POST public FormValidation doCheckReferenceJob(@AncestorInPath BuildableItem project, @QueryParameter String referenceJob) Performs on-the-fly validation of the reference job.- Parameters:
project
- the project that is configuredreferenceJob
- the reference job- Returns:
- the validation result
-
doFillRequiredResultItems
Returns the model with the possible build results.- Parameters:
project
- the project that is configured- Returns:
- the model with the possible build results
-