public ICommonsList <IJobListener> getJobListeners () { synchronized (m_aGlobalJobListeners) { return m_aGlobalJobListeners.copyOfValues (); } }
public ICommonsList <ITriggerListener> getTriggerListeners () { synchronized (m_aGlobalTriggerListeners) { return m_aGlobalTriggerListeners.copyOfValues (); } }
@Nonnull @ReturnsMutableCopy public final ICommonsList <ITEMTYPE> getAllItems () { return m_aItemStore.copyOfValues (); }
/** * @return A list of all defined columns, sorted ascending by index. */ @Nonnull @ReturnsMutableCopy public ICommonsList <ExcelReadColumn <USE_TYPE>> getAllColumns () { // Create a copy. Values are sorted ascending because of the CommonsTreeMap // usage return m_aColumns.copyOfValues (); } }
@Nonnull @ReturnsMutableCopy public synchronized ICommonsList <IScheduler> lookupAll () { return m_aSchedulers.copyOfValues (); } }
@Nonnull @ReturnsMutableCopy public ICommonsList <IJSDeclaration> getAllDeclarations () { return m_aDecls.copyOfValues (); }
@Nonnull @ReturnsMutableCopy public ICommonsCollection <WebSpiderInfo> getAllKnownSpiders () { return m_aMap.copyOfValues (); }
@Nonnull @ReturnsMutableCopy public ICommonsList <IAS4Profile> getAllProfiles () { return m_aRWLock.readLocked ( () -> m_aMap.copyOfValues ()); }
/** * Final all validation executor sets that match the provided filter. * * @param aFilter * The filter to be used. May be <code>null</code> in which case the * result is the same as {@link #getAll()}. * @return Never <code>null</code> but maybe empty. */ @Nonnull @ReturnsMutableCopy public ICommonsList <IValidationExecutorSet> findAll (@Nonnull final Predicate <? super IValidationExecutorSet> aFilter) { return m_aRWLock.readLocked ( () -> m_aMap.copyOfValues (aFilter)); }
@Nonnull @ReturnsMutableCopy public ICommonsList <WebSiteResourceBundleSerialized> getAllResourceBundlesSerialized () { return m_aRWLock.readLocked ( () -> m_aMapToBundle.copyOfValues ()); }
/** * @return A non-<code>null</code> list of all PEPPOL process identifiers. */ @Nonnull @Nonempty @ReturnsMutableCopy public static ICommonsCollection <IPeppolPredefinedProcessIdentifier> getAllProcessIdentifiers () { return s_aCodes.copyOfValues (); }
/** * @return A non-modifiable list of all PEPPOL document identifiers. */ @Nonnull @Nonempty @ReturnsMutableCopy public static ICommonsCollection <IPeppolPredefinedDocumentTypeIdentifier> getAllDocumentTypeIdentifiers () { return s_aCodes.copyOfValues (); }
@Nonnull @Nonempty public ICommonsCollection <LongRunningJobData> getAllRunningJobs () { return m_aRWLock.readLocked ( () -> m_aRunningJobs.copyOfValues ()); }
@Nonnull @ReturnsMutableCopy @IsLocked (ELockType.READ) protected final ICommonsList <IMPLTYPE> internalGetAll (@Nullable final Predicate <? super IMPLTYPE> aFilter) { return m_aRWLock.readLocked ( () -> m_aMap.copyOfValues (aFilter)); }