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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.int
Return the name of the server.int
hashCode()
Return hash code based on properties.void
setCohorts
(List<OMAGCohortProperties> cohorts) void
setDescription
(String description) void
setLastShutdownTime
(Date lastShutdownTime) void
setLastStartTime
(Date lastStartTime) void
setMaxPageSize
(int maxPageSize) void
setOrganizationName
(String organizationName) void
setSecurityConnection
(Connection securityConnection) void
setServerActiveStatus
(ServerActiveStatus serverActiveStatus) void
setServerHistory
(List<OMAGServerInstanceHistory> serverHistory) void
setServerId
(String serverId) void
setServerName
(String serverName) Set up the name of the server.void
setServerType
(String serverType) void
setServices
(List<OMAGServerServiceStatus> services) void
toString()
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.
-