Uses of Class
io.jenkins.plugins.batchcontrol.ui.FormErrors
Packages that use FormErrors
-
Uses of FormErrors in io.jenkins.plugins.batchcontrol.action
Methods in io.jenkins.plugins.batchcontrol.action that return FormErrorsModifier and TypeMethodDescriptionActivationItem.formErrors(String form) The refusal of formformon this request, or an empty one (DEF-09, Jelly).GrantRequestItem.formErrors(String form) The refusal of formformon this request, or an empty one (DEF-09, Jelly).IncidentItem.formErrors(String form) The refusal of formformon this request, or an empty one (DEF-09, Jelly).RequestItem.formErrors(String form) The refusal of formformon this request, or an empty one (DEF-09, Jelly).GrantsSection.getFormErrors()The refusal of the new-request form on this request, or an empty one (DEF-09, Jelly).JobActivationForm.getFormErrors()The refusal of the last submission on this request, or an empty one (DEF-09).JobRequestAction.getFormErrors()The refusal of the last submission on this request, or an empty one (DEF-09). -
Uses of FormErrors in io.jenkins.plugins.batchcontrol.ui
Methods in io.jenkins.plugins.batchcontrol.ui that return FormErrorsModifier and TypeMethodDescriptionEndpoint-side data the view needs to rebuild the form (for example parsed parameters).static FormErrorsFormErrors.current()The refusal attached to this request, whatever form it is for, or an empty one.static FormErrorsThe refusal of formformon this request, or an empty one.Adds a message shown next tofield; the first message for a field wins.FormErrors.fromService(String text, String... keywords) Files a service refusal next to the field its text is about, or above the form when no keyword matches.FormErrors.fromServiceStartingWith(String text, String... prefixes) AsfromService(java.lang.String, java.lang.String...), but a keyword counts only at the start of the message (case-insensitive).Sets the message shown above the form (one that is not about a single field).FormErrors.withoutInput()D-72: the submission is refused without its input being read (its body is over the size cap, and reading a field would parse it), so the form is shown empty:value(java.lang.String)andchecked(java.lang.String, java.lang.String)return nothing and the view may use its defaults.