Class InteractiveInputRunPageAlertJobProperty
java.lang.Object
hudson.model.JobProperty<Job<?,?>>
jenkins.model.OptionalJobProperty<Job<?,?>>
io.jenkins.plugins.interactiveinput.config.InteractiveInputRunPageAlertJobProperty
- All Implemented Interfaces:
ExtensionPoint,Describable<JobProperty<?>>,ReconfigurableDescribable<JobProperty<?>>,BuildStep
Per-pipeline opt-in for the run-page "needs attention" indicator (review item B5), shown in
Configure as its own checkbox alongside the separate "Interactive Input notifications"
property.
Extends OptionalJobProperty so it appears as an opt-in checkbox ("Interactive Input —
alert user on run page"); the property is attached to the job only when the operator ticks
it, so its mere presence means the feature is enabled. There are no inner fields — the
toggle is the whole setting.
When enabled, each build's main page renders a native summary row (see
InteractiveInputRunAction/summary.jelly) that stays hidden until the build has a WAITING
question and then reveals live with an "input needed" cue — mirroring the inline job-page box. The
indicator is otherwise inert: it never changes build behaviour, only visibility.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class jenkins.model.OptionalJobProperty
OptionalJobProperty.OptionalJobPropertyDescriptorNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.JobProperty
ownerFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jenkins.model.OptionalJobProperty
getDescriptorMethods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, reconfigure, setOwner
-
Constructor Details
-
InteractiveInputRunPageAlertJobProperty
@DataBoundConstructor public InteractiveInputRunPageAlertJobProperty()
-
-
Method Details
-
isEnabledOn
- Parameters:
job- the job to inspect (may benullin defensive callers)- Returns:
truewhen this opt-in property is present onjob(i.e. the operator enabled the run-page alert in Configure).
-