hudson.model
Interface RunAction

All Superinterfaces:
Action, ModelObject
All Known Implementing Classes:
CauseAction, Fingerprinter.FingerprintAction

public interface RunAction
extends Action

Optional interface for Actions that add themselves to Run.

Author:
Kohsuke Kawaguchi

Method Summary
 void onAttached(Run r)
          Called when the action is aded to the Run object.
 void onBuildComplete()
          Called after the build is finished.
 void onLoad()
          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 Detail

onLoad

void onLoad()
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)
Called when the action is aded to the Run object.

Since:
1.376

onBuildComplete

void onBuildComplete()
Called after the build is finished.



Copyright © 2004-2013. All Rights Reserved.