org.codehaus.mojo.scmchangelog.changelog.log.grammar
Class AcceptAllScmGrammar

java.lang.Object
  extended by org.codehaus.mojo.scmchangelog.changelog.log.grammar.AbstractScmGrammar
      extended by org.codehaus.mojo.scmchangelog.changelog.log.grammar.AcceptAllScmGrammar
All Implemented Interfaces:
ScmGrammar

public class AcceptAllScmGrammar
extends AbstractScmGrammar

Grammar to accept all comments.

Version:
$Id$
Author:
ehsavoie

Field Summary
 
Fields inherited from interface org.codehaus.mojo.scmchangelog.changelog.log.ScmGrammar
NEW_LINE
 
Constructor Summary
AcceptAllScmGrammar()
           
 
Method Summary
 Message extractMessage(String content)
          Extracts the message (list of issues)from the comment.
 String getIssueSeparator()
          Returns the String to be inserted between each issue comment.
 boolean hasMessage(String content)
          Indicates if the content respects the grammar used to extract issues.
 
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

AcceptAllScmGrammar

public AcceptAllScmGrammar()
Method Detail

extractMessage

public Message extractMessage(String content)
Extracts the message (list of issues)from the comment.

Parameters:
content - the comment of the log entry.
Returns:
the message
See Also:
Message

hasMessage

public boolean hasMessage(String content)
Indicates if the content respects the grammar used to extract issues.

Parameters:
content - the content to be checked
Returns:
true if the content uses the grammar - false otherwise.

getIssueSeparator

public String getIssueSeparator()
Returns the String to be inserted between each issue comment. It may be replaced when generating the report.

Returns:
the String to be inserted between each issue comment.


Copyright © 2008-2009 Codehaus. All Rights Reserved.