Interface JhoveMessage
-
public interface JhoveMessageInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()Get the unique, persistent message identifier.StringgetMessage()Get the main messageStringgetSubMessage()Get the sub-messagebooleanhasSubMessage()Test whether the message has a sub-message
-
-
-
Method Detail
-
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
-
-