Class SignatureStatus

All Implemented Interfaces:
Status

public class SignatureStatus extends ObjectStatus
Contains signatures concerned by an occurred event and corresponding information about them
  • Constructor Details

    • SignatureStatus

      public SignatureStatus()
      Default constructor initializing an empty map
  • Method Details

    • addRelatedTokenAndErrorMessage

      public void addRelatedTokenAndErrorMessage(AdvancedSignature signature, String errorMessage)
      Adds concerned signature and information about the occurred event
      Parameters:
      signature - AdvancedSignature
      errorMessage - String message
    • getRelatedSignatures

      public Collection<AdvancedSignature> getRelatedSignatures()
      Returns a collection of signatures concerned by failure of the processed check
      Returns:
      a collection of AdvancedSignatures
    • getMessageForSignature

      public String getMessageForSignature(AdvancedSignature signature)
      Returns error message for the given signature
      Parameters:
      signature - AdvancedSignature to get caused error message for
      Returns:
      String error message
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: Status
      Returns whether the object is not filled (all values are null)
      Specified by:
      isEmpty in interface Status
      Overrides:
      isEmpty in class ObjectStatus
      Returns:
      TRUE if the Status is empty (underlying even did not occur), FALSE otherwise (event occurred)