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:
HgListCommand,JGitListCommand,LocalListCommand,SvnListCommand
public abstract class AbstractListCommand extends AbstractCommand
- Author:
- Carlos Sanchez
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
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
-
-
-
-
Constructor Detail
-
AbstractListCommand
public AbstractListCommand()
-
-
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 listingscmVersion- TODO- Returns:
- the list of files
- Throws:
ScmException- if any
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
- Specified by:
executeCommandin classAbstractCommand- Throws:
ScmException
-
-