Class WarningAction
java.lang.Object
org.jenkinsci.plugins.workflow.actions.WarningAction
- All Implemented Interfaces:
Action
,ModelObject
,PersistentAction
Action to be attached to a
FlowNode
to signify that some non-fatal event occurred
during execution of a Step
but execution continued normally.
withMessage(java.lang.String)
should be used whenever possible to give context to the warning.
Visualizations should treat FlowNodes with this action as if the FlowNode's result was result
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WarningAction
-
-
Method Details
-
withMessage
-
getMessage
-
getResult
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-