@Symbol(value="cloudBeesFlowRunPipeline") @Extension public static final class ElectricFlowPipelinePublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
See .jelly for the actual HTML fragment for the configuration screen.
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl()
In order to load the persisted global configuration, you have to call load() in the
constructor.
|
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckAddParam(String value,
boolean validationTrigger,
Item item) |
FormValidation |
doCheckConfiguration(String value,
boolean validationTrigger,
Item item) |
FormValidation |
doCheckPipelineName(String value,
boolean validationTrigger,
Item item) |
FormValidation |
doCheckProjectName(String value,
boolean validationTrigger,
Item item) |
FormValidation |
doCheckStagesToRun(String value,
boolean validationTrigger,
Item item) |
ListBoxModel |
doFillAddParamItems(String configuration,
boolean overrideCredential,
String credentialId,
String projectName,
String pipelineName,
String addParam,
Item item) |
ListBoxModel |
doFillConfigurationItems(Item item) |
ListBoxModel |
doFillCredentialIdItems(Item item) |
ListBoxModel |
doFillPipelineNameItems(String projectName,
String configuration,
boolean overrideCredential,
String credentialId,
Item item) |
ListBoxModel |
doFillProjectNameItems(String configuration,
boolean overrideCredential,
String credentialId,
Item item) |
ListBoxModel |
doFillStagesToRunItems(String configuration,
boolean overrideCredential,
String credentialId,
String projectName,
String pipelineName,
String stagesToRun,
Item item) |
ListBoxModel |
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) |
FormValidation |
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) |
FormValidation |
doTestConnection() |
Configuration |
getConfigurationByName(String name) |
List<Configuration> |
getConfigurations() |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
String |
getId() |
boolean |
isApplicable(Class<? extends AbstractProject> aClass) |
filter
addHelpFileRedirect, 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
public DescriptorImpl()
public FormValidation doCheckConfiguration(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item)
public FormValidation doCheckPipelineName(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item)
public FormValidation doCheckProjectName(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item)
public FormValidation doCheckAddParam(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item)
public FormValidation doCheckStagesToRun(@QueryParameter String value, @QueryParameter boolean validationTrigger, @AncestorInPath Item item)
public ListBoxModel doFillStartingStageItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath(value="overrideCredential") String credentialId, @QueryParameter String projectName, @QueryParameter String pipelineName, @AncestorInPath Item item) throws Exception
Exception
public ListBoxModel doFillAddParamItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath(value="overrideCredential") String credentialId, @QueryParameter String projectName, @QueryParameter String pipelineName, @QueryParameter String addParam, @AncestorInPath Item item)
public ListBoxModel doFillStagesToRunItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath(value="overrideCredential") String credentialId, @QueryParameter String projectName, @QueryParameter String pipelineName, @QueryParameter String stagesToRun, @AncestorInPath Item item)
public ListBoxModel doFillConfigurationItems(@AncestorInPath Item item)
public ListBoxModel doFillCredentialIdItems(@AncestorInPath Item item)
public ListBoxModel doFillPipelineNameItems(@QueryParameter String projectName, @QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath(value="overrideCredential") String credentialId, @AncestorInPath Item item)
public ListBoxModel doFillProjectNameItems(@QueryParameter String configuration, @QueryParameter boolean overrideCredential, @QueryParameter @RelativePath(value="overrideCredential") String credentialId, @AncestorInPath Item item)
public void doHelp(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
doHelp
in class Descriptor<Publisher>
IOException
javax.servlet.ServletException
public FormValidation doTestConnection()
public Configuration getConfigurationByName(String name)
public List<Configuration> getConfigurations()
public String getDisplayName()
getDisplayName
in class Descriptor<Publisher>
public String getId()
getId
in class Descriptor<Publisher>
public boolean isApplicable(Class<? extends AbstractProject> aClass)
isApplicable
in class BuildStepDescriptor<Publisher>
public FormValidation doShowOldValues(@QueryParameter(value="configuration") String configuration, @QueryParameter(value="projectName") String projectName, @QueryParameter(value="pipelineName") String pipelineName, @QueryParameter(value="stageOption") String stageOption, @QueryParameter(value="startingStage") String startingStage, @QueryParameter(value="stagesToRun") String stagesToRun, @QueryParameter(value="addParam") String addParam, @QueryParameter(value="storedConfiguration") String storedConfiguration, @QueryParameter(value="storedProjectName") String storedProjectName, @QueryParameter(value="storedPipelineName") String storedPipelineName, @QueryParameter(value="storedStageOption") String storedStageOption, @QueryParameter(value="storedStartingStage") String storedStartingStage, @QueryParameter(value="storedStagesToRun") String storedStagesToRun, @QueryParameter(value="storedAddParam") String storedAddParam, @AncestorInPath Item item)
Copyright © 2016–2024. All rights reserved.