@Override public void add(int index, T element) { add(element); }
@Override public void add(int index, T t) { // index ignored storage().add(t); }
/** * Registers this object as an active listener so that it can start getting * callbacks invoked. * * @deprecated as of 1.281 * Put {@link Extension} on your class to get it auto-registered. */ @Deprecated public void register() { all().add(this); }
/** * Registers this annotator, so that Hudson starts using this object * for adding markup. * * @deprecated as of 1.286 * Prefer automatic registration via {@link Extension} */ @Deprecated public final void register() { all().add(this); }
/** * Registers this {@link ComputerListener} so that it will start receiving events. * * @deprecated as of 1.286 * put {@link Extension} on your class to have it auto-registered. */ @Deprecated public final void register() { all().add(this); }
/** * Registers this instance to Hudson and start getting notifications. * * @deprecated as of 1.286 * put {@link Extension} on your class to have it auto-registered. */ @Deprecated public void register() { all().add(this); }
/** * Registers this object as an active listener so that it can start getting * callbacks invoked. * * @deprecated as of 1.281 * Put {@link Extension} on your class to get it auto-registered. */ @Deprecated public void register() { all().add(this); }
@Override public boolean add(T t) { return storage().add(t); }
@Override public void add(T t) { storage().add(t); }
/** * @param id * Unique ID that distinguishes this error from other errors. * Must remain the same across Hudson executions. Use a caller class name, or something like that. * @param title * A title of the problem. This is used as the HTML title * of the details page. Should be just one sentence, like "ZFS migration error." * @param message * A short description of the problem. This is used in the "/manage" page, and can include HTML, but it should be still short. * @param details * An exception indicating the problem. The administrator can see this once they click "more details". */ public AdministrativeError(String id, String title, String message, Throwable details) { super(id); this.message = message; this.title = title; this.details = details; all().add(this); }
@SuppressWarnings("deprecation") // intentionally adding dynamic item here protected DescriptorImpl() { Downloadable.all().add(createDownloadable()); }
/** * Registers this {@link ComputerListener} so that it will start receiving events. * * @deprecated as of 1.286 * put {@link Extension} on your class to have it auto-registered. */ @Deprecated public final void register() { all().add(this); }
@Override public void add(int index, T t) { // index ignored storage().add(t); }
/** * Registers this annotator, so that Hudson starts using this object * for adding markup. * * @deprecated as of 1.286 * Prefer automatic registration via {@link Extension} */ @Deprecated public final void register() { all().add(this); }
/** * Registers this instance to Hudson and start getting notifications. * * @deprecated as of 1.286 * put {@link Extension} on your class to have it auto-registered. */ @Deprecated public void register() { all().add(this); }
@Override public void add(int index, T t) { // index ignored storage().add(t); }
@Override public void add(int index, T t) { // index ignored storage().add(t); }
/** * Registers this object as an active listener so that it can start getting * callbacks invoked. * * @deprecated as of 1.281 * Put {@link Extension} on your class to get it auto-registered. */ public void register() { all().add(this); }
/** * Registers this object as an active listener so that it can start getting * callbacks invoked. * * @deprecated as of 1.281 * Put {@link Extension} on your class to get it auto-registered. */ @Deprecated public void register() { all().add(this); }