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.intReturn the name of the server.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(Connection securityConnection) voidsetServerActiveStatus(ServerActiveStatus serverActiveStatus) voidsetServerHistory(List<OMAGServerInstanceHistory> serverHistory) voidsetServerId(String serverId) voidsetServerName(String serverName) Set up the name of the server.voidsetServerType(String serverType) voidsetServices(List<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
-
setSecurityConnection
-
getServerActiveStatus
-
setServerActiveStatus
-
getLastStartTime
-
setLastStartTime
-
getLastShutdownTime
-
setLastShutdownTime
-
getServerHistory
-
setServerHistory
-
getServices
-
setServices
-
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.
-