Package hudson.model
Interface RunAction
- All Superinterfaces:
Action
,ModelObject
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAttached
(Run r) Deprecated.Called when the action is added to theRun
object.void
Deprecated.Called after the build is finished.void
onLoad()
Deprecated.Called after the build is loaded and the object is added to the build list.Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Method Details
-
onLoad
void onLoad()Deprecated.Called after the build is loaded and the object is added to the build list. BecauseRunAction
s are persisted withRun
, the implementation can keep a reference toRun
in a field (which is set viaonAttached(Run)
) -
onAttached
Deprecated.Called when the action is added to theRun
object.- Since:
- 1.376
-
onBuildComplete
void onBuildComplete()Deprecated.Called after the build is finished.
-
RunAction2
instead:onLoad()
does not work well with lazy loading if you are trying to persist the owner; andonBuildComplete()
was never called.