Class AbstractListCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.list.AbstractListCommand
-
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractCvsListCommand,HgListCommand,LocalListCommand,SvnListCommand,TfsListCommand
public abstract class AbstractListCommand extends AbstractCommand
- Author:
- Carlos Sanchez
-
-
Constructor Summary
Constructors Constructor Description AbstractListCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ScmResultexecuteCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)protected abstract ListScmResultexecuteListCommand(ScmProviderRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion)List contents of the remote repository-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
-
-
-
Method Detail
-
executeListCommand
protected abstract ListScmResult executeListCommand(ScmProviderRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion) throws ScmException
List contents of the remote repository- Parameters:
repository- what to listfileSet- the files to listrecursive- whether list should return subfolder listing- Returns:
- the list of files
- Throws:
ScmException
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
- Specified by:
executeCommandin classAbstractCommand- Throws:
ScmException
-
-