Class Polling
- All Implemented Interfaces:
Describable<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.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault polling cadence in seconds.static final intLower bound to protect the master from overly aggressive polling. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Field Details
-
MIN_INTERVAL_SECONDS
public static final int MIN_INTERVAL_SECONDSLower bound to protect the master from overly aggressive polling.- See Also:
-
DEFAULT_INTERVAL_SECONDS
public static final int DEFAULT_INTERVAL_SECONDSDefault 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 leastMIN_INTERVAL_SECONDSto avoid hammering the master.
-