Package fr.gouv.vitam.common.model
Class AdminStatusMessage
java.lang.Object
fr.gouv.vitam.common.model.AdminStatusMessage
Default Administration Status message
-
Constructor Summary
ConstructorDescriptionEmpty constructorAdminStatusMessage
(com.fasterxml.jackson.databind.JsonNode serverIdentity, boolean status, com.fasterxml.jackson.databind.node.ObjectNode detail, com.fasterxml.jackson.databind.JsonNode componentsVersions) Constructor from ServerIdentity -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.ObjectNode
com.fasterxml.jackson.databind.JsonNode
boolean
void
setComponentsVersions
(com.fasterxml.jackson.databind.JsonNode componentsVersions) setDetail
(com.fasterxml.jackson.databind.node.ObjectNode detail) setServerIdentity
(com.fasterxml.jackson.databind.JsonNode serverIdentity) setStatus
(boolean status) toString()
-
Constructor Details
-
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 PlatformIdstatus
- True if the status is OK, else Falsedetail
- the detailed status if anycomponentsVersions
-
-
-
Method Details
-
getServerIdentity
public com.fasterxml.jackson.databind.JsonNode getServerIdentity()- Returns:
- the serverIdentity
-
setServerIdentity
- Parameters:
serverIdentity
- the serverIdentity to set- Returns:
- this
-
getStatus
public boolean getStatus()- Returns:
- the status
-
setStatus
- Parameters:
status
- the status to set- Returns:
- this
-
getDetail
public com.fasterxml.jackson.databind.node.ObjectNode getDetail()- Returns:
- the detail
-
setDetail
- 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
-