Class Validation

java.lang.Object
io.jenkins.plugins.designlibrary.UISample
io.jenkins.plugins.designlibrary.Validation
All Implemented Interfaces:
ExtensionPoint, Action, Describable<UISample>, ModelObject

@Extension public class Validation extends UISample
How to access values of the nearby input fields when you do form field validation.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • Validation

      public Validation()
    • Validation

      @DataBoundConstructor public Validation(List<Validation.State> states)
  • Method Details

    • getIconFileName

      public String getIconFileName()
    • getDescription

      public String getDescription()
      Description copied from class: UISample
      Provides a description for the UI sample. The description is displayed at the top of every UI page for the sample.
      Specified by:
      getDescription in class UISample
      Returns:
      the description of the UI sample.
    • getCategory

      public Category getCategory()
      Description copied from class: UISample
      Retrieves the category of this UI sample. Defaults to Category.COMPONENT.
      Overrides:
      getCategory in class UISample
      Returns:
      the category of the UI sample.
    • getStates

      public List<Validation.State> getStates()