Class Status

java.lang.Object
eu.europa.esig.dss.alert.status.Status

public class Status
extends Object
The class used for a custom event creation
  • Constructor Details

    • Status

      public Status​(String message)
      The constructor taking a message only as an input
      Parameters:
      message - String message describing the event
    • Status

      public Status​(String message, Collection<String> relatedObjectIds)
      The default constructor
      Parameters:
      message - String the message associated with the event
      relatedObjectIds - a collection of String object ids, associated with the event
  • Method Details

    • getMessage

      public String getMessage()
      Returns the message event
      Returns:
      String
    • getRelatedObjectIds

      public Collection<String> getRelatedObjectIds()
      Returns a list of object ids associated with the event
      Returns:
      a collection of String object ids associated with the event
    • isEmpty

      public boolean isEmpty()
      Returns of the Status event is not filled (all values are null)
      Returns:
      TRUE if the Status is empty, FALSE otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object