Class AdminStatusMessage


  • public class AdminStatusMessage
    extends java.lang.Object
    Default Administration Status message
    • Constructor Detail

      • AdminStatusMessage

        public AdminStatusMessage()
        Empty constructor
      • AdminStatusMessage

        public AdminStatusMessage​(com.fasterxml.jackson.databind.JsonNode serverIdentity,
                                  boolean status,
                                  com.fasterxml.jackson.databind.node.ObjectNode detail,
                                  com.fasterxml.jackson.databind.JsonNode componentsVersions)
        Constructor from ServerIdentity
        Parameters:
        serverIdentity - containing ServerName, ServerRole, Global PlatformId
        status - True if the status is OK, else False
        detail - the detailed status if any
        componentsVersions -
    • Method Detail

      • getServerIdentity

        public com.fasterxml.jackson.databind.JsonNode getServerIdentity()
        Returns:
        the serverIdentity
      • setServerIdentity

        public AdminStatusMessage setServerIdentity​(com.fasterxml.jackson.databind.JsonNode serverIdentity)
        Parameters:
        serverIdentity - the serverIdentity to set
        Returns:
        this
      • getStatus

        public boolean getStatus()
        Returns:
        the status
      • setStatus

        public AdminStatusMessage setStatus​(boolean status)
        Parameters:
        status - the status to set
        Returns:
        this
      • getDetail

        public com.fasterxml.jackson.databind.node.ObjectNode getDetail()
        Returns:
        the detail
      • setDetail

        public AdminStatusMessage setDetail​(com.fasterxml.jackson.databind.node.ObjectNode detail)
        Parameters:
        detail - the detail to set
        Returns:
        this
      • getComponentsVersions

        public com.fasterxml.jackson.databind.JsonNode getComponentsVersions()
        Returns:
        componentsVersions as JsonNode
      • setComponentsVersions

        public void setComponentsVersions​(com.fasterxml.jackson.databind.JsonNode componentsVersions)
        Parameters:
        componentsVersions -
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object