org.codehaus.mojo.scmchangelog.scm.svn
Class SvnListConsumer
java.lang.Object
org.codehaus.mojo.scmchangelog.AbstractBufferedConsumer
org.codehaus.mojo.scmchangelog.scm.svn.SvnListConsumer
- All Implemented Interfaces:
- org.codehaus.plexus.util.cli.StreamConsumer
public class SvnListConsumer
- extends AbstractBufferedConsumer
Parses the output of the command and returns a list of Tag.
- Version:
- $Id: SvnListConsumer.java 8989 2009-02-05 08:51:11Z ehsavoie $
- Author:
- ehsavoie
|
Method Summary |
List |
analyse()
Parses the output of the command and returns a list of elements. |
protected boolean |
isTagAccepted(String title)
Checks if the tag name matches the filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SvnListConsumer
public SvnListConsumer(Pattern filter)
- Create new instance of the SvnListConsumer.
- Parameters:
filter - the filter on the tag names to be used.
analyse
public List analyse()
- Parses the output of the command and returns a list of elements.
- Specified by:
analyse in class AbstractBufferedConsumer
- Returns:
- a list of Tag.
- See Also:
Tag
isTagAccepted
protected boolean isTagAccepted(String title)
- Checks if the tag name matches the filter.
- Parameters:
title - the name of the tag to be checked.
- Returns:
- true if the tag matches - false otherwise.
Copyright © 2008-2009 Codehaus. All Rights Reserved.