public abstract static class AbstractRule.UmlObjectsWithBadDocStart<T extends UmlObject> extends AbstractRule.AbstractRuleWithSubobjectsAndSkips<T>
AbstractRule.AbstractRuleWithSubobjectsAndSkips<T extends UmlObject>, AbstractRule.UmlObjectsMissingDoc<T extends UmlObject>, AbstractRule.UmlObjectsWithBadCharacterInName<T extends UmlObject>, AbstractRule.UmlObjectsWithBadDocEnd<T extends UmlObject>, AbstractRule.UmlObjectsWithBadDocStart<T extends UmlObject>, AbstractRule.UmlObjectsWithUnallowedStereotype<T extends UmlObject>, AbstractRule.UmlObjectsWithUnallowedTagNames<T extends UmlObject>
Rule.Category, Rule.Severity
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.String> |
DOCSTART_CHARS |
private static java.lang.String |
HOWTO |
private static java.lang.String |
HYPO_END |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRule.UmlObjectsWithBadDocStart(org.apache.log4j.Logger logger,
java.lang.String what) |
Modifier and Type | Method and Description |
---|---|
protected void |
doValidate(UmlObject o,
ModelIssues issues) |
getSubObjects, skipSubobjectValidation, skipValidation, validate
createIssue, createIssue, createIssue, getCategory, getHowToFix, getHypothesis, getLogLevel, getSeverity, logDiagnosis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApplicability, getCategory, getHowToFix, getHypothesis, getLogLevel, getSeverity, logDiagnosis
public static final java.util.List<java.lang.String> DOCSTART_CHARS
private static final java.lang.String HYPO_END
private static final java.lang.String HOWTO
protected AbstractRule.UmlObjectsWithBadDocStart(org.apache.log4j.Logger logger, java.lang.String what)
protected final void doValidate(UmlObject o, ModelIssues issues)
Matches objects with non-empty description starting with a non-upper case letter or
another character not in the allowed list DOCSTART_CHARS
.
doValidate
in class AbstractRule.AbstractRuleWithSubobjectsAndSkips<T extends UmlObject>
Copyright 2009-2015 Tatjana (Tanja) Kostic