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 Type
    Method
    Description
    Return the list of services that are active in the server.
    org.odpi.openmetadata.serveroperations.properties.ServerServicesStatus
    Return a summary of the status of this server and the services within it.
    void
    setServerActiveStatus(org.odpi.openmetadata.serveroperations.properties.ServerActiveStatus serverActiveStatus)
    Set the status of the server.
    void
    setServerServiceActiveStatus(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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 service
      activeStatus - 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

      public List<String> getActiveServiceListForServer()
      Return the list of services that are active in the server.
      Returns:
      list of services names