Class GlobalConfigurationItem

All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, Loadable, OnMaster

public class GlobalConfigurationItem extends GlobalConfiguration
Testable base class for items of the GlobalConfiguration page.
Author:
Ullrich Hafner
  • Constructor Details

  • Method Details

    • readResolve

      protected Object readResolve()
      Called after de-serialization to restore transient fields.
      Returns:
      this
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class GlobalConfiguration
      Throws:
      Descriptor.FormException
    • clearRepeatableProperties

      protected void clearRepeatableProperties()
      Clears all model elements of a repeatable property. Due to a bug in Stapler data binding of repeatable properties the model elements are only changed if they consist of one or more values. If all values have been removed and the associated form is empty, then the setter is not invoked anymore.
    • load

      public final void load()
      Specified by:
      load in interface Loadable
      Overrides:
      load in class Descriptor<GlobalConfiguration>
    • save

      public final void save()
      Specified by:
      save in interface Saveable
      Overrides:
      save in class Descriptor<GlobalConfiguration>