Package hudson.model
Interface RunAction
- All Superinterfaces:
Action,ModelObject
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonAttached(Run r) Deprecated.Called when the action is added to theRunobject.voidDeprecated.Called after the build is finished.voidonLoad()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. BecauseRunActions are persisted withRun, the implementation can keep a reference toRunin a field (which is set viaonAttached(Run)) -
onAttached
Deprecated.Called when the action is added to theRunobject.- Since:
- 1.376
-
onBuildComplete
void onBuildComplete()Deprecated.Called after the build is finished.
-
RunAction2instead:onLoad()does not work well with lazy loading if you are trying to persist the owner; andonBuildComplete()was never called.