java.lang.Object
org.odpi.openmetadata.adapters.connectors.egeriainfrastructure.properties.OMAGServerProperties
Direct Known Subclasses:
OMAGEngineHostProperties, OMAGIntegrationDaemonProperties, OMAGMetadataStoreProperties

public class OMAGServerProperties extends Object
OMAGServerProperties provides a cache to assemble details about a server. It is initialized through a series of set method calls that pass information retrieved from the OMAG Server Platform. It extracts the interesting values that are to form part of the server report.
  • Constructor Details

    • OMAGServerProperties

      public OMAGServerProperties()
      Default constructor
  • Method Details

    • getServerName

      public String getServerName()
      Return the name of the server.
      Returns:
      server name
    • setServerName

      public void setServerName(String serverName)
      Set up the name of the server.
      Parameters:
      serverName - server name
    • getServerType

      public String getServerType()
    • setServerType

      public void setServerType(String serverType)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • getServerId

      public String getServerId()
    • setServerId

      public void setServerId(String serverId)
    • getOrganizationName

      public String getOrganizationName()
    • setOrganizationName

      public void setOrganizationName(String organizationName)
    • getMaxPageSize

      public int getMaxPageSize()
    • setMaxPageSize

      public void setMaxPageSize(int maxPageSize)
    • getSecurityConnection

      public Connection getSecurityConnection()
    • setSecurityConnection

      public void setSecurityConnection(Connection securityConnection)
    • getServerActiveStatus

      public ServerActiveStatus getServerActiveStatus()
    • setServerActiveStatus

      public void setServerActiveStatus(ServerActiveStatus serverActiveStatus)
    • getLastStartTime

      public Date getLastStartTime()
    • setLastStartTime

      public void setLastStartTime(Date lastStartTime)
    • getLastShutdownTime

      public Date getLastShutdownTime()
    • setLastShutdownTime

      public void setLastShutdownTime(Date lastShutdownTime)
    • getServerHistory

      public List<OMAGServerInstanceHistory> getServerHistory()
    • setServerHistory

      public void setServerHistory(List<OMAGServerInstanceHistory> serverHistory)
    • getServices

      public List<OMAGServerServiceStatus> getServices()
    • setServices

      public void setServices(List<OMAGServerServiceStatus> services)
    • getCohorts

      public List<OMAGCohortProperties> getCohorts()
    • setCohorts

      public void setCohorts(List<OMAGCohortProperties> cohorts)
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int