Class DataHubServerInfo
- java.lang.Object
-
- de.hybris.platform.datahubbackoffice.service.datahub.DataHubServerInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class DataHubServerInfo extends java.lang.Object implements java.io.SerializableDescribes a DataHub instance to be accessed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataHubServerInfo(java.lang.String name, java.lang.String location, java.lang.String userName, java.lang.String password)Instantiates a configuration entry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetLocation()Retrieves location of the DataHub server described by this configuration entry.java.lang.StringgetName()Retrieves name of this configuration entry.java.lang.StringgetPassword()java.lang.StringgetUserName()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
DataHubServerInfo
public DataHubServerInfo(java.lang.String name, java.lang.String location, java.lang.String userName, java.lang.String password)Instantiates a configuration entry- Parameters:
name- name of the DataHub instance. It will be used to refer to this instance everywhere in the user interface.location- location of the DataHub instance. It will be used to access and exchange data with the DataHub server.
-
-
Method Detail
-
getName
public java.lang.String getName()
Retrieves name of this configuration entry.- Returns:
- name of the DataHub server configuration
-
getLocation
public java.lang.String getLocation()
Retrieves location of the DataHub server described by this configuration entry.- Returns:
- some URI that can be interpreted by the program in order to access the DataHub server.
-
getUserName
public java.lang.String getUserName()
-
getPassword
public java.lang.String getPassword()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-