|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.scmchangelog.changelog.log.grammar.AbstractScmGrammar
org.codehaus.mojo.scmchangelog.changelog.log.grammar.BugzillaScmGrammar
public class BugzillaScmGrammar
Simple grammar which recognizes bug references in the format: bug ####. For more information, refer to the "Autolinkification" section of the Bugzilla manual: http://www.bugzilla.org/docs/3.2/en/html/hintsandtips.html
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.mojo.scmchangelog.changelog.log.ScmGrammar |
|---|
NEW_LINE |
| Constructor Summary | |
|---|---|
BugzillaScmGrammar()
|
|
| Method Summary | |
|---|---|
Message |
extractMessage(String content)
Extract a Message from a comment. |
String |
getIssueSeparator()
Returns the String to be inserted between each issue comment. |
boolean |
hasMessage(String content)
Indicates if the content has a Message to be extracted. |
| Methods inherited from class org.codehaus.mojo.scmchangelog.changelog.log.grammar.AbstractScmGrammar |
|---|
removeComments |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BugzillaScmGrammar()
| Method Detail |
|---|
public Message extractMessage(String content)
content -
the comment to be parsed and from which a Message will be extracted
the Message extracted from the content
public String getIssueSeparator()
public boolean hasMessage(String content)
content -
the content to be tested
true if a Message can be extracted - false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||