/** * Used to determine if we want to display the Add button. */ public boolean hasJobFilterExtensions() { return !ViewJobFilter.all().isEmpty(); }
LOGGER.log(FINE, "{0} is now executing {1} as {2}", new Object[] {getName(), executable, auth}); if (LOGGER.isLoggable(FINE) && auth.equals(ACL.SYSTEM)) { // i.e., unspecified if (QueueItemAuthenticatorDescriptor.all().isEmpty()) { LOGGER.fine("no QueueItemAuthenticator implementations installed"); } else if (QueueItemAuthenticatorConfiguration.get().getAuthenticators().isEmpty()) {
/** * {@inheritDoc} */ @Override public boolean isEnabled() { return !all().isEmpty(); }
/** * Used to determine if we want to display the Add button. */ public boolean hasJobFilterExtensions() { return !ViewJobFilter.all().isEmpty(); }
/** * Used to determine if we want to display the Add button. */ public boolean hasJobFilterExtensions() { return !ViewJobFilter.all().isEmpty(); }
/** * {@inheritDoc} */ @Override public boolean isEnabled() { return !all().isEmpty(); }
/** * Used to determine if we want to display the Add button. */ public boolean hasJobFilterExtensions() { return !ViewJobFilter.all().isEmpty(); }
@Override public boolean isApplicable(Class<? extends AbstractProject> jobType) { return MavenModuleSet.class.isAssignableFrom(jobType) && !TestDataPublisher.all().isEmpty(); }
/** * Used to determine if we want to display the Add button. */ public boolean hasJobFilterExtensions() { return !ViewJobFilter.all().isEmpty(); }
@Override public boolean isApplicable(Class<? extends AbstractProject> jobType) { return MavenModuleSet.class.isAssignableFrom(jobType) && !TestDataPublisher.all().isEmpty(); }
/** * Used to determine if we want to display the Add button. */ public boolean hasJobFilterExtensions() { return !ViewJobFilter.all().isEmpty(); }
public static List<ScriptSupport> getAvailableScriptSupports() { List<ScriptSupport> scriptSupports = new ArrayList<ScriptSupport>(); if (ScriptSupport.all() != null && !ScriptSupport.all().isEmpty()) { for (Descriptor<ScriptSupport> scriptSupport : ScriptSupport.all()) { try { scriptSupports.add(scriptSupport.newInstance(null, null)); } catch (FormException ex) { Logger logger = LoggerFactory.getLogger(ScriptSupport.class); logger.error("Failed to instantiate Script Support - " + scriptSupport.getDisplayName()); } } } return scriptSupports; }
private List<NativeMacSupport> getAvailableNativeMacSupports() { List<NativeMacSupport> nativeMacSupports = new ArrayList<NativeMacSupport>(); if (NativeMacSupport.all() != null && !NativeMacSupport.all().isEmpty()) { for (Descriptor<NativeMacSupport> nativeMacSupport : NativeMacSupport.all()) { try { nativeMacSupports.add(nativeMacSupport.newInstance(null, null)); } catch (Throwable exc) { logger.info("Failed to instantiate Native Mac Support - " + nativeMacSupport.getDisplayName()); } } } return nativeMacSupports; }
private List<NativeMacSupport> getAvailableNativeMacSupports() { List<NativeMacSupport> nativeMacSupports = new ArrayList<NativeMacSupport>(); if (NativeMacSupport.all() != null && !NativeMacSupport.all().isEmpty()) { for (Descriptor<NativeMacSupport> nativeMacSupport : NativeMacSupport.all()) { try { nativeMacSupports.add(nativeMacSupport.newInstance(null, null)); } catch (Throwable exc) { logger.info("Failed to instantiate Native Mac Support - " + nativeMacSupport.getDisplayName()); } } } return nativeMacSupports; }
private List<NativeUnixSupport> getAvailableNativeUnixSupports() { List<NativeUnixSupport> nativeUnixSupports = new ArrayList<NativeUnixSupport>(); if (NativeUnixSupport.all() != null && !NativeUnixSupport.all().isEmpty()) { for (Descriptor<NativeUnixSupport> nativeUnixSupport : NativeUnixSupport.all()) { try { nativeUnixSupports.add(nativeUnixSupport.newInstance(null, null)); } catch (Throwable exc) { logger.info("Failed to instantiate Native Unix Support - " + nativeUnixSupport.getDisplayName()); } } } return nativeUnixSupports; }
private List<NativeWindowsSupport> getAvailableNativeWindowSupports() { List<NativeWindowsSupport> nativeWindowsSupports = new ArrayList<NativeWindowsSupport>(); if (NativeWindowsSupport.all() != null && !NativeWindowsSupport.all().isEmpty()) { for (Descriptor<NativeWindowsSupport> nativeWindowsSupport : NativeWindowsSupport.all()) { try { nativeWindowsSupports.add(nativeWindowsSupport.newInstance(null, null)); } catch (Throwable exc) { logger.info("Failed to instantiate Native Window Support - " + nativeWindowsSupport.getDisplayName()); } } } return nativeWindowsSupports; }
private List<NativeZfsSupport> getAvailableNativeZfsSupports() { List<NativeZfsSupport> nativeZfsSupports = new ArrayList<NativeZfsSupport>(); if (NativeZfsSupport.all() != null && !NativeZfsSupport.all().isEmpty()) { for (Descriptor<NativeZfsSupport> nativeZfsSupport : NativeZfsSupport.all()) { try { nativeZfsSupports.add(nativeZfsSupport.newInstance(null, null)); } catch (Throwable exc) { logger.info("Failed to instantiate Native Zfs Support - " + nativeZfsSupport.getDisplayName()); } } } return nativeZfsSupports; }
private List<NativeUnixSupport> getAvailableNativeUnixSupports() { List<NativeUnixSupport> nativeUnixSupports = new ArrayList<NativeUnixSupport>(); if (NativeUnixSupport.all() != null && !NativeUnixSupport.all().isEmpty()) { for (Descriptor<NativeUnixSupport> nativeUnixSupport : NativeUnixSupport.all()) { try { nativeUnixSupports.add(nativeUnixSupport.newInstance(null, null)); } catch (Throwable exc) { logger.info("Failed to instantiate Native Unix Support - " + nativeUnixSupport.getDisplayName()); } } } return nativeUnixSupports; }
private List<NativeWindowsSupport> getAvailableNativeWindowSupports() { List<NativeWindowsSupport> nativeWindowsSupports = new ArrayList<NativeWindowsSupport>(); if (NativeWindowsSupport.all() != null && !NativeWindowsSupport.all().isEmpty()) { for (Descriptor<NativeWindowsSupport> nativeWindowsSupport : NativeWindowsSupport.all()) { try { nativeWindowsSupports.add(nativeWindowsSupport.newInstance(null, null)); } catch (Throwable exc) { logger.info("Failed to instantiate Native Window Support - " + nativeWindowsSupport.getDisplayName()); } } } return nativeWindowsSupports; }
private List<NativeZfsSupport> getAvailableNativeZfsSupports() { List<NativeZfsSupport> nativeZfsSupports = new ArrayList<NativeZfsSupport>(); if (NativeZfsSupport.all() != null && !NativeZfsSupport.all().isEmpty()) { for (Descriptor<NativeZfsSupport> nativeZfsSupport : NativeZfsSupport.all()) { try { nativeZfsSupports.add(nativeZfsSupport.newInstance(null, null)); } catch (Throwable exc) { logger.info("Failed to instantiate Native Zfs Support - " + nativeZfsSupport.getDisplayName()); } } } return nativeZfsSupports; }