Class AbstractSiteStatusBuilder<E>

    • Constructor Detail

      • AbstractSiteStatusBuilder

        protected AbstractSiteStatusBuilder()
    • Method Detail

      • onlineOn

        public final void onlineOn​(E member)
        Adds the element with an online connection to the site.
        Parameters:
        member - The member.
      • offlineOn

        public final void offlineOn​(E member)
        Adds the member with an offline connection to the site.
        Parameters:
        member - The member.
      • isOnline

        protected boolean isOnline()
      • isOffline

        protected boolean isOffline()
      • createMixedStatus

        protected abstract SiteStatus createMixedStatus​(List<E> onlineElements,
                                                        List<E> offlineElements)