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 TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 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.Auth2DescriptorThis human-readable name is used in the configuration screen.booleanisApplicable(Class<? extends AbstractProject> aClass) voidsetRemoteSites(RemoteJenkinsServer... remoteSites) Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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
-
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:
isApplicablein classBuildStepDescriptor<Builder>
-
getDisplayName
This human-readable name is used in the configuration screen.- Overrides:
getDisplayNamein classDescriptor<Builder>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configurein 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
-