Interface JhoveMessage
public interface JhoveMessage
Interface that defines behaviour of JhoveMessages.
These messages have a unique string identifier as well as
the previous message and sub-message strings.
- Author:
- Carl Wilson carlwilson AT github
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Get the unique, persistent message identifier.Get the main messageGet the sub-messagebooleanTest whether the message has a sub-message
-
Method Details
-
getId
String getId()Get the unique, persistent message identifier.- Returns:
- the String message id.
-
getMessage
String getMessage()Get the main message- Returns:
- the String message
-
hasSubMessage
boolean hasSubMessage()Test whether the message has a sub-message- Returns:
- true if the message has a sub-message
-
getSubMessage
String getSubMessage()Get the sub-message- Returns:
- the String sub-message
-