Uses of Class
hudson.model.Descriptor.FormException
Packages that use Descriptor.FormException
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Boolean expression over labels.
Jenkins's interface with source code management systems.
QuickSilver-like search/jump capability for better navigation around Jenkins.
Security-related code.
Code related to agents.
Built-in
Trigger
s that run periodically to kick a new build.Other miscellaneous utility code
-
Uses of Descriptor.FormException in hudson
Methods in hudson that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionvoid
Plugin.configure
(net.sf.json.JSONObject formData) Deprecated.void
Plugin.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Handles the submission for the system configuration.boolean
ProxyConfigurationManager.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) DescriptorExtensionList.newInstanceFromRadioList
(net.sf.json.JSONObject config) Creates a new instance of aDescribable
from the structured form submission data posted by a radio button group.DescriptorExtensionList.newInstanceFromRadioList
(net.sf.json.JSONObject parent, String name) Creates a new instance of aDescribable
from the structured form submission data posted by a radio list. -
Uses of Descriptor.FormException in hudson.model
Methods in hudson.model that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionprotected final <T extends Describable<T>>
List<T>AbstractProject.buildDescribable
(org.kohsuke.stapler.StaplerRequest req, List<? extends Descriptor<T>> descriptors) protected final <T extends Describable<T>>
List<T>AbstractProject.buildDescribable
(org.kohsuke.stapler.StaplerRequest req, List<? extends Descriptor<T>> descriptors, String prefix) Deprecated.As of 1.261.boolean
Descriptor.configure
(org.kohsuke.stapler.StaplerRequest req) Deprecated.As of 1.239, useDescriptor.configure(StaplerRequest, JSONObject)
.boolean
Descriptor.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) Invoked when the global configuration page is submitted.boolean
UsageStatistics.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) static View
View.create
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, ViewGroup owner) void
AbstractProject.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) void
Computer.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Accepts the update to the node configuration.org.kohsuke.stapler.HttpResponse
ComputerSet.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req) Accepts submission from the configuration page.void
Job.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Accepts submission from the configuration page.org.kohsuke.stapler.HttpResponse
Run.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req) void
User.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Accepts submission from the configuration page.final void
View.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Accepts submission from the configuration page.void
MyViewsProperty.doCreateView
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) void
ComputerSet.doDoCreateItem
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String name, String type) Really creates a new agent.ChoiceParameterDefinition.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Descriptor.newInstance
(org.kohsuke.stapler.StaplerRequest req) Deprecated.ImplementDescriptor.newInstance(StaplerRequest, JSONObject)
method instead.Descriptor.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Creates a configured instance from the submitted form.JobProperty<?>
JobPropertyDescriptor.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) ParametersDefinitionProperty.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) RunParameterDefinition.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) TopLevelItemDescriptor.newInstance
(org.kohsuke.stapler.StaplerRequest req) Deprecated.since 2007-01-19.static <T extends Describable<T>>
List<T>Descriptor.newInstancesFromHeteroList
(org.kohsuke.stapler.StaplerRequest req, Object formData, Collection<? extends Descriptor<T>> descriptors) static <T extends Describable<T>>
List<T>Descriptor.newInstancesFromHeteroList
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData, String key, Collection<? extends Descriptor<T>> descriptors) Used to buildDescribable
instance list from<f:hetero-list>
tag.JobProperty<?>
JobProperty.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) MyViewsProperty.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) Node.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) ReconfigurableDescribable.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) When a parent/owner object of a Describable gets a config form submission and instances are recreated, this method is invoked on the existing instance (meaning the 'this' reference points to the existing instance) to create a new instance to be added to the parent/owner object.UserProperty.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) ViewProperty.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) void
Renames this view.protected void
AbstractProject.submit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) protected void
AllView.submit
(org.kohsuke.stapler.StaplerRequest req) protected void
Job.submit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Derived class can override this to perform additional config submission work.protected void
ListView.submit
(org.kohsuke.stapler.StaplerRequest req) Handles the configuration submission.protected void
MyView.submit
(org.kohsuke.stapler.StaplerRequest req) protected void
Project.submit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) protected void
ProxyView.submit
(org.kohsuke.stapler.StaplerRequest req) protected abstract void
View.submit
(org.kohsuke.stapler.StaplerRequest req) Handles the configuration submission.protected void
ViewJob.submit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Constructors in hudson.model that throw Descriptor.FormExceptionModifierConstructorDescriptionprotected
Slave
(String name, String remoteFS, ComputerLauncher launcher) protected
Slave
(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy) Deprecated.since 2009-02-20.protected
Slave
(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.as of 2.2 UseSlave(String, String, ComputerLauncher)
and set the rest through setters.protected
Slave
(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.since 2.184 -
Uses of Descriptor.FormException in hudson.model.labels
Methods in hudson.model.labels that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionvoid
LabelAtom.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Accepts the update to the node configuration. -
Uses of Descriptor.FormException in hudson.scm
Methods in hudson.scm that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionstatic <T extends RepositoryBrowser>
TRepositoryBrowsers.createInstance
(Class<T> type, org.kohsuke.stapler.StaplerRequest req, String fieldName) Deprecated.since 2008-06-19.static <T extends RepositoryBrowser>
TRepositoryBrowsers.createInstance
(Class<T> type, org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject parent, String fieldName) Creates an instance ofRepositoryBrowser
from a form submission.static SCM
SCMS.parseSCM
(org.kohsuke.stapler.StaplerRequest req) Deprecated.as of 1.294 UseSCMS.parseSCM(StaplerRequest, AbstractProject)
and pass in the caller's project type.static SCM
SCMS.parseSCM
(org.kohsuke.stapler.StaplerRequest req, AbstractProject target) ParsesSCM
configuration from the submitted form. -
Uses of Descriptor.FormException in hudson.search
Methods in hudson.search that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionUserSearchProperty.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) -
Uses of Descriptor.FormException in hudson.security
Methods in hudson.security that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
GlobalSecurityConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) void
GlobalSecurityConfiguration.doConfigure
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) AuthorizationStrategy.Unsecured.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) HudsonPrivateSecurityRealm.Details.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) -
Uses of Descriptor.FormException in hudson.security.csrf
Methods in hudson.security.csrf that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
GlobalCrumbIssuerConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) DefaultCrumbIssuer.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) -
Uses of Descriptor.FormException in hudson.slaves
Methods in hudson.slaves that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
Cloud.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Accepts the update to the node configuration.Cloud.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) NodeProperty<?>
NodeProperty.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) Constructors in hudson.slaves that throw Descriptor.FormExceptionModifierConstructorDescriptionprotected
AbstractCloudSlave
(String name, String remoteFS, ComputerLauncher launcher) protected
AbstractCloudSlave
(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.since 2.184protected
AbstractCloudSlave
(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.since 2.184DumbSlave
(String name, String remoteFS, ComputerLauncher launcher) DumbSlave
(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy) Deprecated.as of 1.286.DumbSlave
(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) Deprecated.as of 2.2. -
Uses of Descriptor.FormException in hudson.tasks
Methods in hudson.tasks that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
Shell.DescriptorImpl.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject data) ArtifactArchiver.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) BuildTrigger.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Maven.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) -
Uses of Descriptor.FormException in hudson.tools
Methods in hudson.tools that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
ToolDescriptor.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) -
Uses of Descriptor.FormException in hudson.triggers
Methods in hudson.triggers that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
SCMTrigger.DescriptorImpl.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) -
Uses of Descriptor.FormException in hudson.util
Methods in hudson.util that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionDescriptorList.newInstanceFromRadioList
(net.sf.json.JSONObject config) Creates a new instance of aDescribable
from the structured form submission data posted by a radio button group.DescriptorList.newInstanceFromRadioList
(net.sf.json.JSONObject parent, String name) Creates a new instance of aDescribable
from the structured form submission data posted by a radio button group.void
DescribableList.rebuild
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json, List<? extends Descriptor<T>> descriptors) Rebuilds the list by creating a fresh instances from the submitted form.void
DescribableList.rebuild
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json, List<? extends Descriptor<T>> descriptors, String prefix) Deprecated.as of 1.271 UseDescribableList.rebuild(StaplerRequest, JSONObject, List)
instead.void
DescribableList.rebuildHetero
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData, Collection<? extends Descriptor<T>> descriptors, String key) Rebuilds the list by creating a fresh instances from the submitted form. -
Uses of Descriptor.FormException in hudson.views
Methods in hudson.views that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
GlobalDefaultViewConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
MyViewsTabBar.GlobalConfigurationImpl.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
ViewsTabBar.GlobalConfigurationImpl.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) -
Uses of Descriptor.FormException in jenkins.agents
Methods in jenkins.agents that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionvoid
CloudSet.doCreate
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String name, String mode, String from) First check point in creating a new cloud.void
CloudSet.doDoCreate
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String cloudDescriptorName) Really creates a new agent. -
Uses of Descriptor.FormException in jenkins.appearance
Methods in jenkins.appearance that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionvoid
AppearanceGlobalConfiguration.doConfigure
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) -
Uses of Descriptor.FormException in jenkins.console
Methods in jenkins.console that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
ConsoleUrlProviderGlobalConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) -
Uses of Descriptor.FormException in jenkins.management
Methods in jenkins.management that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
AdministrativeMonitorsConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) -
Uses of Descriptor.FormException in jenkins.model
Methods in jenkins.model that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
ArtifactManagerConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
GlobalBuildDiscarderConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
GlobalConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) By default, callsStaplerRequest.bindJSON(Object, JSONObject)
, appropriate when your implementation has getters and setters for all fields.boolean
GlobalNodePropertiesConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
GlobalPluginConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
GlobalProjectNamingStrategyConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
GlobalQuietPeriodConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
GlobalSCMRetryCountConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
MasterBuildConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) void
Jenkins.doConfigExecutorsSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Accepts submission from the node configuration page.void
Jenkins.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Accepts submission from the configuration page.void
Jenkins.MasterComputer.doConfigSubmit
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) void
Jenkins.doCreateView
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) JobProperty<?>
OptionalJobProperty.OptionalJobPropertyDescriptor.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) -
Uses of Descriptor.FormException in jenkins.model.experimentalflags
Methods in jenkins.model.experimentalflags that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionUserExperimentalFlagsProperty.DescriptorImpl.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) -
Uses of Descriptor.FormException in jenkins.mvn
Methods in jenkins.mvn that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionstatic GlobalSettingsProvider
GlobalSettingsProvider.parseSettingsProvider
(org.kohsuke.stapler.StaplerRequest req) static SettingsProvider
SettingsProvider.parseSettingsProvider
(org.kohsuke.stapler.StaplerRequest req) -
Uses of Descriptor.FormException in jenkins.security
Methods in jenkins.security that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
QueueItemAuthenticatorConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) boolean
UpdateSiteWarningsConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) ApiTokenProperty.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) Allow user to rename tokensLastGrantedAuthoritiesProperty.reconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) Stick to the same object since there's no UI for this. -
Uses of Descriptor.FormException in jenkins.tasks.filters
Methods in jenkins.tasks.filters that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionboolean
EnvVarsFilterGlobalConfiguration.configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) -
Uses of Descriptor.FormException in jenkins.tools
Methods in jenkins.tools that throw Descriptor.FormExceptionModifier and TypeMethodDescriptionvoid
GlobalToolConfiguration.doConfigure
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Plugin.configure(StaplerRequest,JSONObject)
instead