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

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

public class ManuScmGrammar
extends AbstractRegexpScmGrammar

Simple grammar which uses a @type:id;comment structure.

Version:
$Id: ManuScmGrammar.java 10667 2009-09-11 08:26:43Z ehsavoie $
Author:
ehsavoie

Field Summary
protected static Pattern ADD_CLEANER_PATTERN
           
protected static Pattern ADD_PATTERN
           
protected static Pattern FIX_CLEANER_PATTERN
           
protected static Pattern FIX_PATTERN
           
protected static Pattern REMOVE_CLEANER_PATTERN
           
protected static Pattern REMOVE_PATTERN
           
protected static Pattern UPDATE_CLEANER_PATTERN
           
protected static Pattern UPDATE_PATTERN
           
 
Fields inherited from interface org.codehaus.mojo.scmchangelog.changelog.log.ScmGrammar
NEW_LINE
 
Constructor Summary
ManuScmGrammar()
           
 
Method Summary
 Matcher getAddCleaner(String expression)
          Getter for the regexp matcher to clean the comments of the ADD issues.
 Matcher getAddMatcher(String expression)
          Getter for the regexp matcher to find the comments of the ADD issues.
 Matcher getFixCleaner(String expression)
          Getter for the regexp matcher to clean the comments of the FIX issues.
 Matcher getFixMatcher(String expression)
          Getter for the regexp matcher to find the comments of the FIX issues.
 Matcher getRemoveCleaner(String expression)
          Getter for the regexp matcher to clean the comments of the REMOVE issues.
 Matcher getRemoveMatcher(String expression)
          Getter for the regexp matcher to find the comments of the REMOVE issues.
 Matcher getUpdateCleaner(String expression)
          Getter for the regexp matcher to clean the comments of the UPDATE issues.
 Matcher getUpdateMatcher(String expression)
          Getter for the regexp matcher to find the comments of the UPDATE issues.
 
Methods inherited from class org.codehaus.mojo.scmchangelog.changelog.log.grammar.AbstractRegexpScmGrammar
computeIssues, extractMessage, getCleaner, getFinder, getIssueSeparator, hasMessage
 
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
 

Field Detail

FIX_PATTERN

protected static final Pattern FIX_PATTERN

REMOVE_PATTERN

protected static final Pattern REMOVE_PATTERN

ADD_PATTERN

protected static final Pattern ADD_PATTERN

UPDATE_PATTERN

protected static final Pattern UPDATE_PATTERN

FIX_CLEANER_PATTERN

protected static final Pattern FIX_CLEANER_PATTERN

REMOVE_CLEANER_PATTERN

protected static final Pattern REMOVE_CLEANER_PATTERN

ADD_CLEANER_PATTERN

protected static final Pattern ADD_CLEANER_PATTERN

UPDATE_CLEANER_PATTERN

protected static final Pattern UPDATE_CLEANER_PATTERN
Constructor Detail

ManuScmGrammar

public ManuScmGrammar()
Method Detail

getFixCleaner

public Matcher getFixCleaner(String expression)
Description copied from class: AbstractRegexpScmGrammar
Getter for the regexp matcher to clean the comments of the FIX issues.

Specified by:
getFixCleaner in class AbstractRegexpScmGrammar
Parameters:
expression - the regexp for cleaning the comments of the FIX issues.
Returns:
a Matcher to clean the comments of FIX issues.

getUpdateCleaner

public Matcher getUpdateCleaner(String expression)
Description copied from class: AbstractRegexpScmGrammar
Getter for the regexp matcher to clean the comments of the UPDATE issues.

Specified by:
getUpdateCleaner in class AbstractRegexpScmGrammar
Parameters:
expression - the regexp for cleaning the comments of the UPDATE issues.
Returns:
a regexp matcher to clean the comments of UPDATE issues.

getAddCleaner

public Matcher getAddCleaner(String expression)
Description copied from class: AbstractRegexpScmGrammar
Getter for the regexp matcher to clean the comments of the ADD issues.

Specified by:
getAddCleaner in class AbstractRegexpScmGrammar
Parameters:
expression - the regexp for cleaning the comments of the ADD issues.
Returns:
a regexp matcher to clean the comments of ADD issues.

getRemoveCleaner

public Matcher getRemoveCleaner(String expression)
Description copied from class: AbstractRegexpScmGrammar
Getter for the regexp matcher to clean the comments of the REMOVE issues.

Specified by:
getRemoveCleaner in class AbstractRegexpScmGrammar
Parameters:
expression - the regexp for cleaning the comments of the REMOVE issues.
Returns:
a regexp matcher to clean the comments of REMOVE issues.

getFixMatcher

public Matcher getFixMatcher(String expression)
Description copied from class: AbstractRegexpScmGrammar
Getter for the regexp matcher to find the comments of the FIX issues.

Specified by:
getFixMatcher in class AbstractRegexpScmGrammar
Parameters:
expression - the regexp for finding the comments of the FIX issues.
Returns:
a regexp matcher to find the comments of FIX issues.

getAddMatcher

public Matcher getAddMatcher(String expression)
Description copied from class: AbstractRegexpScmGrammar
Getter for the regexp matcher to find the comments of the ADD issues.

Specified by:
getAddMatcher in class AbstractRegexpScmGrammar
Parameters:
expression - the regexp for finding the comments of the ADD issues.
Returns:
a regexp matcher to find the comments of ADD issues.

getRemoveMatcher

public Matcher getRemoveMatcher(String expression)
Description copied from class: AbstractRegexpScmGrammar
Getter for the regexp matcher to find the comments of the REMOVE issues.

Specified by:
getRemoveMatcher in class AbstractRegexpScmGrammar
Parameters:
expression - the regexp for finding the comments of the REMOVE issues.
Returns:
a regexp matcher to find the comments of REMOVE issues.

getUpdateMatcher

public Matcher getUpdateMatcher(String expression)
Description copied from class: AbstractRegexpScmGrammar
Getter for the regexp matcher to find the comments of the UPDATE issues.

Specified by:
getUpdateMatcher in class AbstractRegexpScmGrammar
Parameters:
expression - the regexp for finding the comments of the UPDATE issues.
Returns:
a regexp matcher to find the comments of UPDATE issues.


Copyright © 2008-2009 Codehaus. All Rights Reserved.