Package fr.gouv.vitam.common.model
Class StatusMessage
- java.lang.Object
-
- fr.gouv.vitam.common.model.StatusMessage
-
public class StatusMessage extends java.lang.Object
Default Status message (at that time)
-
-
Constructor Summary
Constructors Constructor Description StatusMessage()
Empty constructorStatusMessage(ServerIdentityInterface serverIdentity)
Constructor from ServerIdentity
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
int
getPid()
java.lang.String
getRole()
protected void
setName(java.lang.String name)
protected void
setPid(int pid)
protected void
setRole(java.lang.String role)
java.lang.String
toString()
-
-
-
Constructor Detail
-
StatusMessage
public StatusMessage()
Empty constructor
-
StatusMessage
public StatusMessage(ServerIdentityInterface serverIdentity)
Constructor from ServerIdentity- Parameters:
serverIdentity
- containing ServerName, ServerRole, Global PlatformId
-
-
Method Detail
-
getName
public final java.lang.String getName()
- Returns:
- the server name
-
setName
protected final void setName(java.lang.String name)
-
getRole
public final java.lang.String getRole()
- Returns:
- the server role
-
setRole
protected final void setRole(java.lang.String role)
-
getPid
public final int getPid()
- Returns:
- the unique int identifier for this server
-
setPid
protected final void setPid(int pid)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-