Class Features
- All Implemented Interfaces:
Describable<Features>
Per-capability functional feature flags (§6.4), shown under Manage Jenkins →
System. Every capability is opt-in-able so an operator can enable or disable it via the UI or
JCasC without uninstalling the plugin.
Defaults: the step, modal and REST API are on; the input-step bridge and dashboard tile are
off. Notification-surface visibility (global bell, per-project centre, job-page box, icon) lives
separately in InteractiveInputAppearanceConfig under Manage Jenkins → Appearance,
per Jenkins core guidance to keep look-and-feel settings out of functional configuration.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAskInteractiveStep(boolean askInteractiveStep) voidsetDashboardTile(boolean dashboardTile) voidsetHtmlRendering(boolean htmlRendering) voidsetInputStepBridge(boolean inputStepBridge) voidsetInteractiveOutput(boolean interactiveOutput) voidsetInteractiveView(boolean interactiveView) voidsetRestApi(boolean restApi) voidsetRichModal(boolean richModal) 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
-
Constructor Details
-
Features
@DataBoundConstructor public Features()
-
-
Method Details
-
isAskInteractiveStep
public boolean isAskInteractiveStep() -
setAskInteractiveStep
@DataBoundSetter public void setAskInteractiveStep(boolean askInteractiveStep) -
isRichModal
public boolean isRichModal() -
setRichModal
@DataBoundSetter public void setRichModal(boolean richModal) -
isRestApi
public boolean isRestApi() -
setRestApi
@DataBoundSetter public void setRestApi(boolean restApi) -
isInputStepBridge
public boolean isInputStepBridge() -
setInputStepBridge
@DataBoundSetter public void setInputStepBridge(boolean inputStepBridge) -
isDashboardTile
public boolean isDashboardTile() -
setDashboardTile
@DataBoundSetter public void setDashboardTile(boolean dashboardTile) -
isInteractiveView
public boolean isInteractiveView()- Returns:
- whether the
interactiveViewreview surfaces (page, sidebar, bell, REST) show. Anullfield (upgrade from a config saved before this flag existed) defaults on.
-
setInteractiveView
@DataBoundSetter public void setInteractiveView(boolean interactiveView) -
isInteractiveOutput
public boolean isInteractiveOutput()- Returns:
- whether the
interactiveOutputstatistics surfaces (build/job pages) show. Anullfield (upgrade from a config saved before this flag existed) defaults on.
-
setInteractiveOutput
@DataBoundSetter public void setInteractiveOutput(boolean interactiveOutput) -
isHtmlRendering
public boolean isHtmlRendering()- Returns:
- whether an HTML review snapshot may be rendered in a sandboxed frame (the review page's
"Rendered" view) as well as shown as escaped source. Turning this off leaves HTML documents
source-only, which is how the plugin behaved before the feature existed. A
nullfield (upgrade from a config saved before this flag existed) defaults on.
-
setHtmlRendering
@DataBoundSetter public void setHtmlRendering(boolean htmlRendering)
-