Uses of Class
hudson.model.Descriptor.FormException
-
Packages that use Descriptor.FormException Package Description hudson hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.model.labels Boolean expression over labels.hudson.node_monitors Code that monitors the health of agentshudson.scm Jenkins's interface with source code management systems.hudson.search QuickSilver-like search/jump capability for better navigation around Jenkins.hudson.security Security-related code.hudson.security.csrf hudson.slaves Code related to agents.hudson.tasks hudson.tools hudson.triggers Built-inTrigger
s that run periodically to kick a new build.hudson.util Other miscellaneous utility codehudson.views jenkins.management jenkins.model jenkins.model.experimentalflags jenkins.mvn jenkins.security jenkins.tasks.filters jenkins.tools -
-
Uses of Descriptor.FormException in hudson
Methods in hudson that throw Descriptor.FormException Modifier and Type Method Description void
Plugin. configure(net.sf.json.JSONObject formData)
Deprecated.as of 1.305 overridePlugin.configure(StaplerRequest,JSONObject)
insteadvoid
Plugin. configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
Handles the submission for the system configuration.T
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.T
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.FormException Modifier and Type Method Description protected <T extends Describable<T>>
List<T>AbstractProject. buildDescribable(org.kohsuke.stapler.StaplerRequest req, List<? extends Descriptor<T>> descriptors)
protected <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.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.ParameterDefinition
ChoiceParameterDefinition.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
T
Descriptor. newInstance(org.kohsuke.stapler.StaplerRequest req)
Deprecated.ImplementDescriptor.newInstance(StaplerRequest, JSONObject)
method instead.T
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
ParametersDefinitionProperty.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
ParameterDefinition
RunParameterDefinition.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
TopLevelItem
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)
UserProperty
MyViewsProperty. reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
Node
Node. reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
T
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
UserProperty. reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
ViewProperty
ViewProperty. reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
void
View. rename(String newName)
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.FormException Constructor Description Slave(String name, String remoteFS, ComputerLauncher launcher)
Slave(String name, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy)
Deprecated.since 2009-02-20.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.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.FormException Modifier and Type Method Description void
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.node_monitors
Methods in hudson.node_monitors that throw Descriptor.FormException Modifier and Type Method Description NodeMonitor
ArchitectureMonitor.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
NodeMonitor
ClockMonitor.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
NodeMonitor
SwapSpaceMonitor.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
-
Uses of Descriptor.FormException in hudson.scm
Methods in hudson.scm that throw Descriptor.FormException Modifier and Type Method Description static <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.FormException Modifier and Type Method Description UserProperty
UserSearchProperty.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.FormException Modifier and Type Method Description boolean
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
AuthorizationStrategy.Unsecured.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
HudsonPrivateSecurityRealm.Details
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.FormException Modifier and Type Method Description boolean
GlobalCrumbIssuerConfiguration. configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
DefaultCrumbIssuer
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.FormException Modifier and Type Method Description NodeProperty<?>
NodeProperty. reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
Constructors in hudson.slaves that throw Descriptor.FormException Constructor Description AbstractCloudSlave(String name, String remoteFS, ComputerLauncher launcher)
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.184AbstractCloudSlave(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.FormException Modifier and Type Method Description boolean
Shell.DescriptorImpl. configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject data)
ArtifactArchiver
ArtifactArchiver.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
BuildTrigger
BuildTrigger.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
Builder
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.FormException Modifier and Type Method Description boolean
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.FormException Modifier and Type Method Description boolean
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.FormException Modifier and Type Method Description T
DescriptorList. newInstanceFromRadioList(net.sf.json.JSONObject config)
Creates a new instance of aDescribable
from the structured form submission data posted by a radio button group.T
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.FormException Modifier and Type Method Description boolean
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.management
Methods in jenkins.management that throw Descriptor.FormException Modifier and Type Method Description boolean
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.FormException Modifier and Type Method Description boolean
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
GlobalCloudConfiguration. doConfigure(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.FormException Modifier and Type Method Description UserProperty
UserExperimentalFlagsProperty.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.FormException Modifier and Type Method Description static 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.FormException Modifier and Type Method Description boolean
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)
UserProperty
ApiTokenProperty. reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
Allow user to rename tokensUserProperty
LastGrantedAuthoritiesProperty. 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.FormException Modifier and Type Method Description boolean
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.FormException Modifier and Type Method Description void
GlobalToolConfiguration. doConfigure(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
-