Class ServerServicesStatus

    • Constructor Detail

      • ServerServicesStatus

        public ServerServicesStatus()
        Default constructor for Jackson
      • ServerServicesStatus

        public ServerServicesStatus​(ServerServicesStatus template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getServerName

        public String getServerName()
        Return the server name
        Returns:
        String
      • setServerName

        public void setServerName​(String serverName)
        Set the name of the server
        Parameters:
        serverName - the name of the server
      • getServerType

        public String getServerType()
        Return the type of server that is hosting these services.
        Returns:
        string name
      • setServerType

        public void setServerType​(String serverType)
        Set up the type of server that is hosting these services.
        Parameters:
        serverType - string name
      • setServerActiveStatus

        public void setServerActiveStatus​(ServerActiveStatus serverActiveStatus)
        Set up the current status of the server.
        Parameters:
        serverActiveStatus - new status
      • getServerActiveStatus

        public ServerActiveStatus getServerActiveStatus()
        Return the current status of the server.
        Returns:
        server instance status enum
      • setServices

        public void setServices​(List<OMAGServerServiceStatus> services)
        Set up the services and their status.
        Parameters:
        services - services list
      • toString

        public String toString()
        JSON like toString method
        Overrides:
        toString in class Object
        Returns:
        string representing the local variables
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object
        Returns:
        int hash code