Class DataHubServer
- java.lang.Object
-
- de.hybris.platform.datahubbackoffice.service.datahub.DataHubServer
-
- All Implemented Interfaces:
java.io.Serializable
public class DataHubServer extends java.lang.Object implements java.io.SerializableA DataHub server to communicate to.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataHubServer(DataHubServerInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetLocation()Reads location URL of this server.java.lang.StringgetName()Reads name of this server.inthashCode()booleanisAccessibleWithTimeout()Determines whether the server is accessible within the timeout
-
-
-
Constructor Detail
-
DataHubServer
public DataHubServer(DataHubServerInfo info)
-
-
Method Detail
-
isAccessibleWithTimeout
public boolean isAccessibleWithTimeout()
Determines whether the server is accessible within the timeout- Returns:
true, if the server is accessible and the program can interact with it;false, otherwise.
-
getName
public java.lang.String getName()
Reads name of this server.- Returns:
- name of this server as it was configured in the
DataHubNameService
-
getLocation
public java.lang.String getLocation()
Reads location URL of this server.- Returns:
- URL of this server as it was configured in the
DataHubNameService
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-