Class OMAGServerProperties
java.lang.Object
org.odpi.openmetadata.adapters.connectors.egeriainfrastructure.properties.OMAGServerProperties
- Direct Known Subclasses:
OMAGEngineHostProperties,OMAGIntegrationDaemonProperties,OMAGMetadataStoreProperties
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.intorg.odpi.openmetadata.frameworks.connectors.properties.beans.Connectionorg.odpi.openmetadata.serveroperations.properties.ServerActiveStatusList<org.odpi.openmetadata.serveroperations.properties.OMAGServerInstanceHistory>Return the name of the server.List<org.odpi.openmetadata.serveroperations.properties.OMAGServerServiceStatus>inthashCode()Return hash code based on properties.voidsetCohorts(List<OMAGCohortProperties> cohorts) voidsetDescription(String description) voidsetLastShutdownTime(Date lastShutdownTime) voidsetLastStartTime(Date lastStartTime) voidsetMaxPageSize(int maxPageSize) voidsetOrganizationName(String organizationName) voidsetSecurityConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection securityConnection) voidsetServerActiveStatus(org.odpi.openmetadata.serveroperations.properties.ServerActiveStatus serverActiveStatus) voidsetServerHistory(List<org.odpi.openmetadata.serveroperations.properties.OMAGServerInstanceHistory> serverHistory) voidsetServerId(String serverId) voidsetServerName(String serverName) Set up the name of the server.voidsetServerType(String serverType) voidsetServices(List<org.odpi.openmetadata.serveroperations.properties.OMAGServerServiceStatus> services) voidtoString()Standard toString method.
-
Constructor Details
-
OMAGServerProperties
public OMAGServerProperties()Default constructor
-
-
Method Details
-
getServerName
Return the name of the server.- Returns:
- server name
-
setServerName
Set up the name of the server.- Parameters:
serverName- server name
-
getServerType
-
setServerType
-
getDescription
-
setDescription
-
getUserId
-
setUserId
-
getServerId
-
setServerId
-
getOrganizationName
-
setOrganizationName
-
getMaxPageSize
public int getMaxPageSize() -
setMaxPageSize
public void setMaxPageSize(int maxPageSize) -
getSecurityConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getSecurityConnection() -
setSecurityConnection
public void setSecurityConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection securityConnection) -
getServerActiveStatus
public org.odpi.openmetadata.serveroperations.properties.ServerActiveStatus getServerActiveStatus() -
setServerActiveStatus
public void setServerActiveStatus(org.odpi.openmetadata.serveroperations.properties.ServerActiveStatus serverActiveStatus) -
getLastStartTime
-
setLastStartTime
-
getLastShutdownTime
-
setLastShutdownTime
-
getServerHistory
public List<org.odpi.openmetadata.serveroperations.properties.OMAGServerInstanceHistory> getServerHistory() -
setServerHistory
public void setServerHistory(List<org.odpi.openmetadata.serveroperations.properties.OMAGServerInstanceHistory> serverHistory) -
getServices
public List<org.odpi.openmetadata.serveroperations.properties.OMAGServerServiceStatus> getServices() -
setServices
public void setServices(List<org.odpi.openmetadata.serveroperations.properties.OMAGServerServiceStatus> services) -
getCohorts
-
setCohorts
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-