Package jmri

Interface ProxyManager<B extends NamedBean>

    • Method Detail

      • addManager

        void addManager​(@Nonnull
                        Manager<B> manager)
        Add a Manager to the collection of Managers.
        Parameters:
        manager - the Manager to add; if manager has already been added, it will not be added again
      • getDefaultManager

        @Nonnull
        Manager<BgetDefaultManager()
        Get the default manager or the internal manager if no default manager has been set.
        Returns:
        the default manager or the internal manager
      • getManagerList

        java.util.List<Manager<B>> getManagerList()
        Returns a list of all managers, including the internal manager. This is not a live list, but it is in alpha order (don't assume default is at front)
        Returns:
        the list of managers
      • getDisplayOrderManagerList

        java.util.List<Manager<B>> getDisplayOrderManagerList()
        Get a list of all managers, with the default as the first item and internal default as the last item.
        Returns:
        the list of managers