|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.checkstyle.RuleUtil
public final class RuleUtil
Tooling for Checkstyle rules conventions: names, categories.
Nested Class Summary | |
---|---|
static interface |
RuleUtil.Matcher
Audit event source name matcher. |
Method Summary | |
---|---|
static String |
getCategory(AuditEvent event)
Get the rule category from an audit event. |
static String |
getCategory(String eventSrcName)
Get the rule category from an audit event source name. |
static String |
getName(AuditEvent event)
Get the rule name from an audit event. |
static String |
getName(String eventSrcName)
Get the rule name from an audit event source name. |
static RuleUtil.Matcher[] |
parseMatchers(String[] specs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getName(AuditEvent event)
event
- the audit event
public static String getName(String eventSrcName)
eventSrcName
- the audit event source name
public static String getCategory(AuditEvent event)
event
- the audit event
public static String getCategory(String eventSrcName)
eventSrcName
- the audit event source name
public static RuleUtil.Matcher[] parseMatchers(String[] specs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |