Package jenkins.model
Interface RunAction2
- All Superinterfaces:
Action,ModelObject
- All Known Implementing Classes:
AbstractScmTagAction,CauseAction,Fingerprinter.FingerprintAction,ParametersAction,SCMTrigger.BuildAction
Optional interface for
Actions that add themselves to a Run.
You may keep a transient reference to an owning build, restored in onLoad(hudson.model.Run<?, ?>).- Since:
- 1.519, 1.509.3
-
Method Summary
Modifier and TypeMethodDescriptionvoidonAttached(Run<?, ?> r) Called when this action is added to a build.voidCalled after a build is loaded to which this action was previously attached.Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Method Details
-
onAttached
Called when this action is added to a build. -
onLoad
Called after a build is loaded to which this action was previously attached.
-