From 7915d822cb84a6a17568dfdc55cfdb21c49dc97f Mon Sep 17 00:00:00 2001 From: Daniel Beck <1831569+daniel-beck@users.noreply.github.com> Date: Sat, 5 Feb 2022 14:07:29 +0100 Subject: [PATCH] Note at-since from #6228 and #6237 (#6252) Co-authored-by: Daniel Beck --- core/src/main/java/hudson/lifecycle/Lifecycle.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/src/main/java/hudson/lifecycle/Lifecycle.java b/core/src/main/java/hudson/lifecycle/Lifecycle.java index e0588b5a983a..92abad4cb632 100644 --- a/core/src/main/java/hudson/lifecycle/Lifecycle.java +++ b/core/src/main/java/hudson/lifecycle/Lifecycle.java @@ -254,6 +254,8 @@ public boolean canRestart() { /** * Called when Jenkins startup is finished or when Jenkins has finished reloading its * configuration. + * + * @since 2.333 */ public void onReady() { LOGGER.log(Level.INFO, "Jenkins is fully up and running"); @@ -264,6 +266,8 @@ public void onReady() { * *

Callers must also send an {@link #onReady()} notification when Jenkins has finished * reloading its configuration. + * + * @since 2.333 */ public void onReload(@NonNull String user, @CheckForNull String remoteAddr) { if (remoteAddr != null) { @@ -278,6 +282,8 @@ public void onReload(@NonNull String user, @CheckForNull String remoteAddr) { /** * Called when Jenkins is beginning its shutdown. + * + * @since 2.333 */ public void onStop(@NonNull String user, @CheckForNull String remoteAddr) { if (remoteAddr != null) { @@ -297,6 +303,8 @@ public void onStop(@NonNull String user, @CheckForNull String remoteAddr) { * * @param timeout The amount by which to extend the timeout. * @param unit The time unit of the timeout argument. + * + * @since TODO */ public void onExtendTimeout(long timeout, @NonNull TimeUnit unit) {} @@ -305,6 +313,8 @@ public void onExtendTimeout(long timeout, @NonNull TimeUnit unit) {} * * @param status The status string. This is free-form and can be used for various purposes: * general state feedback, completion percentages, human-readable error message, etc. + * + * @since 2.333 */ public void onStatusUpdate(String status) { LOGGER.log(Level.INFO, status);