From 9a8792465b6b0c484e0bb5c49859108709eaa82a Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Tue, 27 Dec 2011 15:33:28 -0800 Subject: [PATCH] doc clarified --- core/src/main/java/hudson/model/RunAction.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/java/hudson/model/RunAction.java b/core/src/main/java/hudson/model/RunAction.java index f3df309500..3fa7e96d52 100644 --- a/core/src/main/java/hudson/model/RunAction.java +++ b/core/src/main/java/hudson/model/RunAction.java @@ -31,6 +31,9 @@ package hudson.model; public interface RunAction extends Action { /** * Called after the build is loaded and the object is added to the build list. + * + * Because {@link RunAction}s are persisted with {@link Run}, the implementation + * can keep a reference to {@link Run} in a field (which is set via {@link #onAttached(Run)}) */ void onLoad(); -- GitLab