Class LocalListCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.list.AbstractListCommand
-
- org.apache.maven.scm.provider.local.command.list.LocalListCommand
-
- All Implemented Interfaces:
Command
public class LocalListCommand extends AbstractListCommand
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description LocalListCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ListScmResultexecuteListCommand(ScmProviderRepository repo, ScmFileSet fileSet, boolean recursive, ScmVersion version)List contents of the remote repository.private java.util.List<ScmFile>getFiles(java.io.File source, java.io.File directory, boolean recursive)-
Methods inherited from class org.apache.maven.scm.command.list.AbstractListCommand
executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Method Detail
-
executeListCommand
protected ListScmResult executeListCommand(ScmProviderRepository repo, ScmFileSet fileSet, boolean recursive, ScmVersion version) throws ScmException
List contents of the remote repository.- Specified by:
executeListCommandin classAbstractListCommand- Parameters:
repo- what to listfileSet- the files to listrecursive- whether list should return subfolder listingversion- TODO- Returns:
- the list of files
- Throws:
ScmException- if any
-
getFiles
private java.util.List<ScmFile> getFiles(java.io.File source, java.io.File directory, boolean recursive) throws java.io.IOException
- Throws:
java.io.IOException
-
-