Class ElectricFlowPipelinePublisher.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
org.jenkinsci.plugins.electricflow.ElectricFlowPipelinePublisher.DescriptorImpl
- Enclosing class:
- ElectricFlowPipelinePublisher
@Symbol("cloudBeesFlowRunPipeline")
@Extension
public static final class ElectricFlowPipelinePublisher.DescriptorImpl
extends BuildStepDescriptor<Publisher>
The class is marked as public so that it can be accessed from views.
See .jelly for the actual HTML fragment for the configuration screen.
-
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
ConstructorDescriptionIn order to load the persisted global configuration, you have to call load() in the constructor. -
Method Summary
Modifier and TypeMethodDescriptiondoCheckAddParam
(String value, boolean validationTrigger, Item item) doCheckConfiguration
(String value, boolean validationTrigger, Item item) doCheckPipelineName
(String value, boolean validationTrigger, Item item) doCheckProjectName
(String value, boolean validationTrigger, Item item) doCheckStagesToRun
(String value, boolean validationTrigger, Item item) doFillAddParamItems
(String configuration, boolean overrideCredential, String credentialId, String projectName, String pipelineName, String addParam, Item item) doFillConfigurationItems
(Item item) doFillCredentialIdItems
(Item item) doFillPipelineNameItems
(String projectName, String configuration, boolean overrideCredential, String credentialId, Item item) doFillProjectNameItems
(String configuration, boolean overrideCredential, String credentialId, Item item) doFillStagesToRunItems
(String configuration, boolean overrideCredential, String credentialId, String projectName, String pipelineName, String stagesToRun, Item item) doFillStartingStageItems
(String configuration, boolean overrideCredential, String credentialId, String projectName, String pipelineName, Item item) void
doHelp
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) doShowOldValues
(String configuration, String projectName, String pipelineName, String stageOption, String startingStage, String stagesToRun, String addParam, String storedConfiguration, String storedProjectName, String storedPipelineName, String storedStageOption, String storedStartingStage, String storedStagesToRun, String storedAddParam, Item item) getConfigurationByName
(String name) This human readable name is used in the configuration screen.getId()
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, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, 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
-
doCheckConfiguration
public FormValidation doCheckConfiguration(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item) -
doCheckPipelineName
public FormValidation doCheckPipelineName(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item) -
doCheckProjectName
public FormValidation doCheckProjectName(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item) -
doCheckAddParam
public FormValidation doCheckAddParam(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item) -
doCheckStagesToRun
public FormValidation doCheckStagesToRun(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item) -
doFillStartingStageItems
public ListBoxModel doFillStartingStageItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath("overrideCredential") String credentialId, @QueryParameter String projectName, @QueryParameter String pipelineName, @AncestorInPath Item item) throws Exception - Throws:
Exception
-
doFillAddParamItems
public ListBoxModel doFillAddParamItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath("overrideCredential") String credentialId, @QueryParameter String projectName, @QueryParameter String pipelineName, @QueryParameter String addParam, @AncestorInPath Item item) -
doFillStagesToRunItems
public ListBoxModel doFillStagesToRunItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath("overrideCredential") String credentialId, @QueryParameter String projectName, @QueryParameter String pipelineName, @QueryParameter String stagesToRun, @AncestorInPath Item item) -
doFillConfigurationItems
-
doFillCredentialIdItems
-
doFillPipelineNameItems
public ListBoxModel doFillPipelineNameItems(@QueryParameter String projectName, @QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath("overrideCredential") String credentialId, @AncestorInPath Item item) -
doFillProjectNameItems
public ListBoxModel doFillProjectNameItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath("overrideCredential") String credentialId, @AncestorInPath Item item) -
doHelp
public void doHelp(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException - Overrides:
doHelp
in classDescriptor<Publisher>
- Throws:
IOException
javax.servlet.ServletException
-
doTestConnection
-
getConfigurationByName
-
getConfigurations
-
getDisplayName
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<Publisher>
- Returns:
- this human readable name is used in the configuration screen.
-
getId
- Overrides:
getId
in classDescriptor<Publisher>
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
doShowOldValues
public FormValidation doShowOldValues(@QueryParameter("configuration") String configuration, @QueryParameter("projectName") String projectName, @QueryParameter("pipelineName") String pipelineName, @QueryParameter("stageOption") String stageOption, @QueryParameter("startingStage") String startingStage, @QueryParameter("stagesToRun") String stagesToRun, @QueryParameter("addParam") String addParam, @QueryParameter("storedConfiguration") String storedConfiguration, @QueryParameter("storedProjectName") String storedProjectName, @QueryParameter("storedPipelineName") String storedPipelineName, @QueryParameter("storedStageOption") String storedStageOption, @QueryParameter("storedStartingStage") String storedStartingStage, @QueryParameter("storedStagesToRun") String storedStagesToRun, @QueryParameter("storedAddParam") String storedAddParam, @AncestorInPath Item item)
-