Package org.alfresco.utility.network
Class ServerHealth
java.lang.Object
org.alfresco.utility.network.ServerHealth
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThrow an exception if the server is not online.booleanbooleanbooleanisServerReachable(String server, int port)
-
Field Details
-
properties
-
-
Constructor Details
-
ServerHealth
public ServerHealth()
-
-
Method Details
-
getAlfrescoEdition
-
getAlfrescoVersion
-
isServerReachable
-
isServerReachable
public boolean isServerReachable() -
isAlfrescoRunning
public boolean isAlfrescoRunning() -
assertServerIsOnline
public void assertServerIsOnline()Throw an exception if the server is not online.- Throws:
ServerReachableAlfrescoIsNotRunningException- If the server is not online.
-