Class OMAGOperationalServicesInstance
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.serveroperations.server.OMAGOperationalServicesInstance
public class OMAGOperationalServicesInstance
extends org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
OMAGOperationalServicesInstance provides the references to the active services for an instance of an OMAG Server.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the list of services that are active in the server.org.odpi.openmetadata.serveroperations.properties.ServerServicesStatusReturn a summary of the status of this server and the services within it.voidsetServerActiveStatus(org.odpi.openmetadata.serveroperations.properties.ServerActiveStatus serverActiveStatus) Set the status of the server.voidsetServerServiceActiveStatus(String serviceName, org.odpi.openmetadata.serveroperations.properties.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, setServiceInstanceStatus, shutdown
-
Method Details
-
setServerActiveStatus
public void setServerActiveStatus(org.odpi.openmetadata.serveroperations.properties.ServerActiveStatus serverActiveStatus) Set the status of the server.- Parameters:
serverActiveStatus- new status
-
setServerServiceActiveStatus
public void setServerServiceActiveStatus(String serviceName, org.odpi.openmetadata.serveroperations.properties.ServerActiveStatus activeStatus) Set the status of a particular service.- Parameters:
serviceName- name of serviceactiveStatus- new status
-
getServerStatus
public org.odpi.openmetadata.serveroperations.properties.ServerServicesStatus 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
-