Class ServerHealth


  • @Service
    public class ServerHealth
    extends java.lang.Object
    • Constructor Detail

      • ServerHealth

        public ServerHealth()
    • Method Detail

      • getAlfrescoEdition

        public java.lang.String getAlfrescoEdition()
      • getAlfrescoVersion

        public java.lang.String getAlfrescoVersion()
      • isServerReachable

        public boolean isServerReachable​(java.lang.String server,
                                         int port)
      • isServerReachable

        public boolean isServerReachable()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isAlfrescoRunning

        public boolean isAlfrescoRunning()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertServerIsOnline

        public void assertServerIsOnline()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception