org.codehaus.mojo.scmchangelog.scm.svn
Class SvnListCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.list.AbstractListCommand
          extended by org.codehaus.mojo.scmchangelog.scm.svn.SvnListCommand
All Implemented Interfaces:
org.apache.maven.scm.command.Command, org.apache.maven.scm.provider.svn.command.SvnCommand

public class SvnListCommand
extends org.apache.maven.scm.command.list.AbstractListCommand
implements org.apache.maven.scm.provider.svn.command.SvnCommand

Command to list files in SVN ( svn list --xml command.

Version:
$Id: SvnListCommand.java 8988 2009-02-05 08:48:09Z ehsavoie $
Author:
ehsavoie

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
SvnListCommand(Pattern filter)
          Creates a new instance of SvnListCommand.
 
Method Summary
protected  org.apache.maven.scm.command.list.ListScmResult executeListCommand(org.apache.maven.scm.provider.ScmProviderRepository repository, org.apache.maven.scm.ScmFileSet fileSet, boolean recursive, org.apache.maven.scm.ScmVersion version)
          Executes a svn list --xml repository_url command.
 
Methods inherited from class org.apache.maven.scm.command.list.AbstractListCommand
executeCommand
 
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.scm.command.Command
execute, getLogger, setLogger
 

Constructor Detail

SvnListCommand

public SvnListCommand(Pattern filter)
Creates a new instance of SvnListCommand.

Parameters:
filter - the filter on the tag names to be used.
Method Detail

executeListCommand

protected org.apache.maven.scm.command.list.ListScmResult executeListCommand(org.apache.maven.scm.provider.ScmProviderRepository repository,
                                                                             org.apache.maven.scm.ScmFileSet fileSet,
                                                                             boolean recursive,
                                                                             org.apache.maven.scm.ScmVersion version)
                                                                      throws org.apache.maven.scm.ScmException
Executes a svn list --xml repository_url command.

Specified by:
executeListCommand in class org.apache.maven.scm.command.list.AbstractListCommand
Parameters:
repository - the Subversion repository.
fileSet - the list of files.
recursive - true if we want a recursive list command - false otherwise.
version - the version target (branch, tags, trunk).
Returns:
a ListScmResult containing a List>Tag<.
Throws:
org.apache.maven.scm.ScmException - in case of an error with the SCM.


Copyright © 2008-2009 Codehaus. All Rights Reserved.