| java.lang.Object org.tigris.scarab.util.build.l10nchecker.L10nIssueTemplates
L10nIssueTemplates | public class L10nIssueTemplates (Code) | | Static utility class to hold the issue message types as defined by the
task
|
Method Summary | |
public static int | getMessageType(Class _clazz) Retrive the message type of the class representing this issue.
Parameters: _clazz - The class representing the issue (usually oneof org.tigris.scarab.util.build.l10nchecker.issues.*Issue The message type (see L10nIssue for details.In case the class is not represented in issueMessageTypes, the function returns null. | public static void | reset() | public static void | setMessageType(Class _clazz, int messageType) Set the severity of an issue. |
getMessageType | public static int getMessageType(Class _clazz)(Code) | | Retrive the message type of the class representing this issue.
Parameters: _clazz - The class representing the issue (usually oneof org.tigris.scarab.util.build.l10nchecker.issues.*Issue The message type (see L10nIssue for details.In case the class is not represented in issueMessageTypes, the function returns null. |
reset | public static void reset()(Code) | | Clear all definitions
|
setMessageType | public static void setMessageType(Class _clazz, int messageType)(Code) | | Set the severity of an issue.
In case this function is called the first time,
issueMessageTypes is initialized.
Parameters: _clazz - The class to set the severity for. Parameters: messageType - The new severity |
|
|