Class OMAGOperationalServicesInstance
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.serveroperations.server.OMAGOperationalServicesInstance
OMAGOperationalServicesInstance provides the references to the active services for an instance of an OMAG Server.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
invalidParameterHandler, maxPageSize, securityVerifier, serverName, serviceName
-
Method Summary
Modifier and TypeMethodDescriptionReturn the list of services that are active in the server.Return a summary of the status of this server and the services within it.void
setServerActiveStatus
(ServerActiveStatus serverActiveStatus) Set the status of the server.void
setServerServiceActiveStatus
(String serviceName, ServerActiveStatus activeStatus) Set the status of a particular service.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
getInvalidParameterHandler, getServerName, getServiceInstanceStatus, getServiceName, setMaxPageSize, setSecurityVerifier, setServerName, setServiceInstanceStatus, shutdown
-
Method Details
-
setServerActiveStatus
Set the status of the server.- Parameters:
serverActiveStatus
- new status
-
setServerServiceActiveStatus
Set the status of a particular service.- Parameters:
serviceName
- name of serviceactiveStatus
- new status
-
getServerStatus
Return a summary of the status of this server and the services within it.- Returns:
- server status
-
getActiveServiceListForServer
Return the list of services that are active in the server.- Returns:
- list of services names
-