@Extension public static final class RemoteBuildConfiguration.DescriptorImpl extends BuildStepDescriptor<Builder>
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.
|
filter
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public DescriptorImpl()
public static RemoteBuildConfiguration.DescriptorImpl newInstanceForTests()
public boolean isApplicable(Class<? extends AbstractProject> aClass)
isApplicable
in class BuildStepDescriptor<Builder>
@NonNull public String getDisplayName()
getDisplayName
in class Descriptor<Builder>
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
configure
in class Descriptor<Builder>
Descriptor.FormException
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckTrustAllCertificates(@QueryParameter(value="trustAllCertificates") boolean value)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckJob(@QueryParameter(value="job") String value, @QueryParameter(value="remoteJenkinsUrl") String remoteJenkinsUrl, @QueryParameter(value="remoteJenkinsName") String remoteJenkinsName)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckRemoteJenkinsUrl(@QueryParameter(value="remoteJenkinsUrl") String value, @QueryParameter(value="remoteJenkinsName") String remoteJenkinsName, @QueryParameter(value="job") String job)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckRemoteJenkinsName(@QueryParameter(value="remoteJenkinsName") String value, @QueryParameter(value="remoteJenkinsUrl") String remoteJenkinsUrl, @QueryParameter(value="job") String job)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Nonnull public ListBoxModel doFillRemoteJenkinsNameItems()
public RemoteJenkinsServer[] getRemoteSites()
public void setRemoteSites(RemoteJenkinsServer... remoteSites)
public static List<Auth2.Auth2Descriptor> getAuth2Descriptors()
public static List<JobParameters.ParametersDescriptor> getParametersDescriptors()
public static Auth2.Auth2Descriptor getDefaultAuth2Descriptor()
public static JobParameters.ParametersDescriptor getDefaultParametersDescriptor()
Copyright © 2016–2023. All rights reserved.