/** * Returns all the registered {@link QueueListener}s. */ public static ExtensionList<QueueListener> all() { return ExtensionList.lookup(QueueListener.class); } }
/** * Returns all the registered {@link LabelFinder}s. */ public static ExtensionList<RestartListener> all() { return ExtensionList.lookup(RestartListener.class); }
/** * All the registered {@link CloudProvisioningListener}s. */ public static ExtensionList<CloudProvisioningListener> all() { return ExtensionList.lookup(CloudProvisioningListener.class); }
/** * All registered {@link AdministrativeMonitor} instances. */ public static ExtensionList<AdministrativeMonitor> all() { return ExtensionList.lookup(AdministrativeMonitor.class); } }
/** * Get all the InstallStateFilters, in extension order */ public static List<InstallStateFilter> all() { return ExtensionList.lookup(InstallStateFilter.class); } }
/** * All registered {@link SubTaskContributor} instances. */ public static ExtensionList<SubTaskContributor> all() { return ExtensionList.lookup(SubTaskContributor.class); } }
/** * Get all of the {@link HttpSessionListener} implementations. * @return All of the {@link HttpSessionListener} implementations. */ public static ExtensionList<HttpSessionListener> all() { return ExtensionList.lookup(HttpSessionListener.class); }
/** * Returns all the registered {@link UserAvatarResolver} descriptors. */ public static ExtensionList<UserAvatarResolver> all() { return ExtensionList.lookup(UserAvatarResolver.class); }
/** * All the registered instances. */ @SuppressWarnings("rawtypes") public static ExtensionList<ConsoleAnnotatorFactory> all() { return ExtensionList.lookup(ConsoleAnnotatorFactory.class); } }
/** * All the registered {@link ConsoleLogFilter}s. */ public static ExtensionList<ConsoleLogFilter> all() { return ExtensionList.lookup(ConsoleLogFilter.class); } }
/** * Returns all the registered {@link BuildVariableContributor}s. */ public static ExtensionList<BuildVariableContributor> all() { return ExtensionList.lookup(BuildVariableContributor.class); } }
/** * Returns all the registered {@link UserNameResolver} descriptors. */ public static ExtensionList<UserNameResolver> all() { return ExtensionList.lookup(UserNameResolver.class); }
/** * Returns all the registered {@link RunListener}s. */ public static ExtensionList<RunListener> all() { return ExtensionList.lookup(RunListener.class); }
/** * All the registered {@link ItemListener}s. */ public static ExtensionList<ItemListener> all() { return ExtensionList.lookup(ItemListener.class); }
/** * All the registered {@link ComputerListener}s. */ public static ExtensionList<ComputerListener> all() { return ExtensionList.lookup(ComputerListener.class); } }
/** * Returns all the registered {@link PeriodicWork}s. */ public static ExtensionList<PeriodicWork> all() { return ExtensionList.lookup(PeriodicWork.class); }
/** * All registered instances. */ public static @Nonnull ExtensionList<ManagementLink> all() { return ExtensionList.lookup(ManagementLink.class); }
/** * @deprecated choose between {@link #findById} or {@link #findByDescribableClassName} */ public static @CheckForNull Descriptor find(String className) { return find(ExtensionList.lookup(Descriptor.class),className); }
@Override public void handle(Socket socket) throws IOException, InterruptedException { handler.handle(socket, Collections.singletonMap(JnlpConnectionState.COOKIE_KEY, JnlpAgentReceiver.generateCookie()), ExtensionList.lookup(JnlpAgentReceiver.class)); }
/** * Try to make this user a super-user */ private void tryToMakeAdmin(User u) { AuthorizationStrategy as = Jenkins.getInstance().getAuthorizationStrategy(); for (PermissionAdder adder : ExtensionList.lookup(PermissionAdder.class)) { if (adder.add(as, u, Jenkins.ADMINISTER)) { return; } } }