java.lang.Object
hudson.model.AbstractDescribableImpl<Polling>
io.jenkins.plugins.interactiveinput.config.Polling
All Implemented Interfaces:
Describable<Polling>

public class Polling extends AbstractDescribableImpl<Polling>
Notification-bell polling settings (§6.4). The bell polls the REST endpoint at this cadence; there is deliberately no SSE/WebSocket in v0.1 (§8.4) so the plugin works through every corporate proxy.
  • Field Details

    • MIN_INTERVAL_SECONDS

      public static final int MIN_INTERVAL_SECONDS
      Lower bound to protect the master from overly aggressive polling.
      See Also:
    • DEFAULT_INTERVAL_SECONDS

      public static final int DEFAULT_INTERVAL_SECONDS
      Default polling cadence in seconds.
      See Also:
  • Constructor Details

    • Polling

      @DataBoundConstructor public Polling()
  • Method Details

    • getIntervalSeconds

      public int getIntervalSeconds()
    • setIntervalSeconds

      @DataBoundSetter public void setIntervalSeconds(int intervalSeconds)
      Parameters:
      intervalSeconds - polling cadence; clamped to at least MIN_INTERVAL_SECONDS to avoid hammering the master.