Class RemoteBuildConfiguration.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.DescriptorImpl
- Enclosing class:
- RemoteBuildConfiguration
@Extension
public static final class RemoteBuildConfiguration.DescriptorImpl
extends BuildStepDescriptor<Builder>
-
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
ConstructorsConstructorDescriptionIn order to load the persisted global configuration, you have to call load() in the constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) doCheckJob
(String value, String remoteJenkinsUrl, String remoteJenkinsName) doCheckRemoteJenkinsName
(String value, String remoteJenkinsUrl, String job) doCheckRemoteJenkinsUrl
(String value, String remoteJenkinsName, String job) doCheckTrustAllCertificates
(boolean value) static List<Auth2.Auth2Descriptor>
static Auth2.Auth2Descriptor
This human-readable name is used in the configuration screen.boolean
isApplicable
(Class<? extends AbstractProject> aClass) void
setRemoteSites
(RemoteJenkinsServer... remoteSites) Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, 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
-
newInstanceForTests
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
This human-readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<Builder>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
doCheckTrustAllCertificates
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckTrustAllCertificates(@QueryParameter("trustAllCertificates") boolean value) -
doCheckJob
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckJob(@QueryParameter("job") String value, @QueryParameter("remoteJenkinsUrl") String remoteJenkinsUrl, @QueryParameter("remoteJenkinsName") String remoteJenkinsName) -
doCheckRemoteJenkinsUrl
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckRemoteJenkinsUrl(@QueryParameter("remoteJenkinsUrl") String value, @QueryParameter("remoteJenkinsName") String remoteJenkinsName, @QueryParameter("job") String job) -
doCheckRemoteJenkinsName
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckRemoteJenkinsName(@QueryParameter("remoteJenkinsName") String value, @QueryParameter("remoteJenkinsUrl") String remoteJenkinsUrl, @QueryParameter("job") String job) -
doFillRemoteJenkinsNameItems
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @NonNull public ListBoxModel doFillRemoteJenkinsNameItems() -
getRemoteSites
-
setRemoteSites
-
getAuth2Descriptors
-
getParametersDescriptors
-
getDefaultAuth2Descriptor
-
getDefaultParametersDescriptor
-