Class DataHubServerInfo

java.lang.Object
de.hybris.platform.datahubbackoffice.service.datahub.DataHubServerInfo
All Implemented Interfaces:
Serializable

public class DataHubServerInfo extends Object implements Serializable
Describes a DataHub instance to be accessed.
See Also:
  • Constructor Details

    • DataHubServerInfo

      public DataHubServerInfo(String name, String location, String userName, 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 Details

    • getName

      public String getName()
      Retrieves name of this configuration entry.
      Returns:
      name of the DataHub server configuration
    • getLocation

      public 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 String getUserName()
    • getPassword

      public String getPassword()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object