Fill in since annotations (#9849)

Co-authored-by: timja <21194782+timja@users.noreply.github.com>
This commit is contained in:
github-actions[bot]andtimja authored and GitHub committed 2024-10-12 06:06:31 -06:00
1 parent d34b17ee4b
commit 829be14884
8 files changed
+10 -10

No files matched your search

@@ -118,7 +118,7 @@ public final class ComputerSet extends AbstractModelObject implements Describabl
* @deprecated Use {@link #getComputers()} instead.
* @return All {@link Computer} instances managed by this set.
*/
@Deprecated(since = "TODO")
@Deprecated(since = "2.480")
public Computer[] get_all() {
return getComputers().stream().filter(Computer.class::isInstance).toArray(Computer[]::new);
}
@@ -60,7 +60,7 @@ public abstract class SaveableListener implements ExtensionPoint {
* The saveable object.
* @param file
* The {@link XmlFile} for this saveable object.
* @since TODO
* @since 2.480
*/
public void onDeleted(Saveable o, XmlFile file) {}
@@ -92,7 +92,7 @@ public abstract class SaveableListener implements ExtensionPoint {
/**
* Fires the {@link #onDeleted} event.
* @since TODO
* @since 2.480
*/
public static void fireOnDeleted(Saveable o, XmlFile file) {
Listeners.notify(SaveableListener.class, false, l -> l.onDeleted(o, file));
@@ -162,7 +162,7 @@ public abstract class AuthorizationStrategy extends AbstractDescribableImpl<Auth
* Default implementation delegates to {@link #getACL(Computer)} if the computer is an instance of {@link Computer},
* otherwise it will fall back to {@link #getRootACL()}.
*
* @since TODO
* @since 2.480
**/
public @NonNull ACL getACL(@NonNull IComputer computer) {
if (computer instanceof Computer c) {
@@ -40,7 +40,7 @@ import org.kohsuke.accmod.restrictions.Beta;
/**
* Interface for computer-like objects meant to be passed to {@code t:executors} tag.
*
* @since TODO
* @since 2.480
*/
@Restricted(Beta.class)
public interface IComputer extends AccessControlled {
@@ -31,7 +31,7 @@ import org.kohsuke.accmod.restrictions.Beta;
/**
* A snapshot of the executor information for display purpose.
*
* @since TODO
* @since 2.480
*/
@Restricted(Beta.class)
public interface IDisplayExecutor {
@@ -35,7 +35,7 @@ import org.kohsuke.accmod.restrictions.Beta;
/**
* Interface for an executor that can be displayed in the executors widget.
*
* @since TODO
* @since 2.480
*/
@Restricted(Beta.class)
public interface IExecutor {
@@ -256,7 +256,7 @@ public interface ModelObjectWithContextMenu extends ModelObject {
* @since 1.513
* @deprecated use {@link #add(IComputer)} instead.
*/
@Deprecated(since = "TODO")
@Deprecated(since = "2.480")
public ContextMenu add(Computer c) {
return add((IComputer) c);
}
@@ -265,7 +265,7 @@ public interface ModelObjectWithContextMenu extends ModelObject {
* Adds a {@link IComputer} instance.
* @param c the computer to add to the menu
* @return this
* @since TODO
* @since 2.480
*/
public ContextMenu add(IComputer c) {
return add(new MenuItem()
@@ -32,7 +32,7 @@ import hudson.security.AccessControlled;
/**
* A task that can be displayed in the executors widget.
*
* @since TODO
* @since 2.480
*/
public interface ITask extends ModelObject {
/**