Class AbstractListCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.list.AbstractListCommand
- All Implemented Interfaces:
Command
- Author:
- Carlos Sanchez
-
Field Summary
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteCommand
(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) protected abstract ListScmResult
executeListCommand
(ScmProviderRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion) List contents of the remote repositoryMethods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
Constructor Details
-
AbstractListCommand
public AbstractListCommand()
-
-
Method Details
-
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:
executeCommand
in classAbstractCommand
- Throws:
ScmException
-