Package fr.gouv.vitam.common.model

# Class StatusMessage

java.lang.Object
fr.gouv.vitam.common.model.StatusMessage

public class StatusMessage extends Object
Default Status message (at that time)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StatusMessage()`
  Empty constructor
  `StatusMessage(ServerIdentityInterface serverIdentity)`
  Constructor from ServerIdentity

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final String`
  `getName()`
  `final int`
  `getPid()`
  `final String`
  `getRole()`
  `protected final void`
  `setName(String name)`
  `protected final void`
  `setPid(int pid)`
  `protected final void`
  `setRole(String role)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### StatusMessage

    public StatusMessage()
    Empty constructor

  - ### StatusMessage

    public StatusMessage(ServerIdentityInterface serverIdentity)
    Constructor from ServerIdentity
    Parameters:
      `serverIdentity` - containing ServerName, ServerRole, Global PlatformId

- ## Method Details

  - ### getName

    public final String getName()
    Returns:
      the server name

  - ### setName

    protected final void setName(String name)

  - ### getRole

    public final String getRole()
    Returns:
      the server role

  - ### setRole

    protected final void setRole(String role)

  - ### getPid

    public final int getPid()
    Returns:
      the unique int identifier for this server

  - ### setPid

    protected final void setPid(int pid)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`