org.codehaus.mojo.scmchangelog.scm.svn
Class SvnListCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.list.AbstractListCommand
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
| Fields inherited from interface org.apache.maven.scm.command.Command |
ROLE |
|
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 |
SvnListCommand
public SvnListCommand(Pattern filter)
- Creates a new instance of SvnListCommand.
- Parameters:
filter - the filter on the tag names to be used.
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.