Class OnlineSiteStatus

  • All Implemented Interfaces:
    SiteStatus

    public class OnlineSiteStatus
    extends Object
    implements SiteStatus
    SiteStatus implementation for online sites. This class is a singleton and its instance is accessible via getInstance().
    Since:
    8.2
    Author:
    Pedro Ruivo
    • Method Detail

      • isOnline

        public boolean isOnline()
        Specified by:
        isOnline in interface SiteStatus
        Returns:
        true if the site is online.
      • isOffline

        public boolean isOffline()
        Specified by:
        isOffline in interface SiteStatus
        Returns:
        true if the site is offline.