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

public class Features extends AbstractDescribableImpl<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.

  • 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 interactiveView review surfaces (page, sidebar, bell, REST) show. A null field (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 interactiveOutput statistics surfaces (build/job pages) show. A null field (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 null field (upgrade from a config saved before this flag existed) defaults on.
    • setHtmlRendering

      @DataBoundSetter public void setHtmlRendering(boolean htmlRendering)