Class InteractiveOutputBuildAction
java.lang.Object
io.jenkins.plugins.interactiveinput.output.InteractiveOutputBuildAction
- All Implemented Interfaces:
Action,ModelObject,RunAction2
Per-build "Interactive Output" surface published by the
interactiveOutput step. Holds one or
more MetricReports and is stored directly in the build's action list, so it is persisted in
build.xml via XStream (no separate store needed — the data is naturally durable and
build-scoped).
summary.jelly contributes KPI cards + a table to the build's main page; index.jelly
is the dedicated details page reached from the left-sidebar link. Multiple interactiveOutput
calls in one build append to the single action instance (see the step), so the build shows one
"Interactive Output" link listing every report.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReport(MetricReport report) Run<?, ?> Run<?, ?> getRun()booleanbooleanisEmpty()booleanvoidonAttached(Run<?, ?> r) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDescription, getEvent, getGroup, getSemantic, isVisibleInContextMenu
-
Field Details
-
URL_NAME
Stable URL segment under the run (e.g./job/foo/3/interactive-output/).- See Also:
-
ICON
Theme-aware symbol for the output surfaces.- See Also:
-
-
Constructor Details
-
InteractiveOutputBuildAction
public InteractiveOutputBuildAction()
-
-
Method Details
-
addReport
-
getReports
-
isEmpty
public boolean isEmpty() -
getRun
-
getObject
- Returns:
- the owning run. Required by core's
l:run-subpage(it.object).
-
getIconClassName
- Returns:
- the theme-aware symbol class for the output surfaces (for
<l:icon src=..>).
-
isVisible
public boolean isVisible()- Returns:
- whether the build-page summary/detail surfaces should render (feature on and non-empty).
-
isClassicSummaryVisible
public boolean isClassicSummaryVisible()- Returns:
- whether the classic
summary.jellyrow should render. Suppressed under the experimental build page, where the KPI card is instead shown natively byInteractiveOutputRunTab(avoiding a duplicate inside core's "Legacy" card).
-
onAttached
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
- Specified by:
onLoadin interfaceRunAction2
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-