|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.util.build.l10nchecker.L10nIssue
Class that represents an issue template
| Field Summary | |
static int |
MESSAGE_ERROR
ERROR message |
static int |
MESSAGE_IGNORE
ignore message (default) |
static int |
MESSAGE_INFO
INFORMATIONAL message |
static int |
MESSAGE_WARNING
WARNING message |
| Constructor Summary | |
L10nIssue()
|
|
| Method Summary | |
java.lang.String |
formatMessage()
Utility function to perform a message translation for a specific issue |
abstract java.lang.String |
getMessageTemplate()
Return the message template that is used to display the error text. |
int |
getMessageType()
Return the message type for the current object. |
abstract java.lang.Object[] |
getParameters()
Get the parameters for a message |
boolean |
isError()
Return true in case the current issue is an error message |
boolean |
isInfo()
Return true in case the current issue is an informational message |
boolean |
isWarning()
Return true in case the current issue is a warning |
void |
setMessageType(int messageType)
Set the severity of the current message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MESSAGE_IGNORE
public static final int MESSAGE_INFO
public static final int MESSAGE_ERROR
public static final int MESSAGE_WARNING
| Constructor Detail |
public L10nIssue()
| Method Detail |
public java.lang.String formatMessage()
public final boolean isError()
public final boolean isWarning()
public final boolean isInfo()
public abstract java.lang.String getMessageTemplate()
public abstract java.lang.Object[] getParameters()
public final int getMessageType()
L10nIssueTemplates
public final void setMessageType(int messageType)
messageType - The messageType to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||