Package hudson.model

Interface RunAction

All Superinterfaces:
Action, ModelObject

@Deprecated public interface RunAction extends Action
Deprecated.
Use RunAction2 instead: onLoad() does not work well with lazy loading if you are trying to persist the owner; and onBuildComplete() was never called.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Called when the action is added to the Run object.
    void
    Deprecated.
    Called after the build is finished.
    void
    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. Because RunActions are persisted with Run, the implementation can keep a reference to Run in a field (which is set via onAttached(Run))
    • onAttached

      void onAttached(Run r)
      Deprecated.
      Called when the action is added to the Run object.
      Since:
      1.376
    • onBuildComplete

      void onBuildComplete()
      Deprecated.
      Called after the build is finished.