Package jenkins.model

Class MasterBuildConfiguration

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

@Extension(ordinal=500.0) @Symbol({"builtInNode","masterBuild"}) public class MasterBuildConfiguration extends GlobalConfiguration
Adds the configuration regarding building on the built-in node.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • MasterBuildConfiguration

      public MasterBuildConfiguration()
  • Method Details

    • getNumExecutors

      public int getNumExecutors()
    • getLabelString

      public String getLabelString()
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Description copied from class: GlobalConfiguration
      By default, calls StaplerRequest.bindJSON(Object, JSONObject), appropriate when your implementation has getters and setters for all fields.

      Invoked when the global configuration page is submitted. Can be overridden to store descriptor-specific information.

      Overrides:
      configure in class GlobalConfiguration
      json - The JSON object that captures the configuration data for this Descriptor. See the developer documentation.
      Returns:
      false to keep the client in the same config page.
      Throws:
      Descriptor.FormException