Class GitAddCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.add.AbstractAddCommand
-
- org.apache.maven.scm.provider.git.gitexe.command.add.GitAddCommand
-
- All Implemented Interfaces:
Command
,GitCommand
public class GitAddCommand extends AbstractAddCommand implements GitCommand
-
-
Constructor Summary
Constructors Constructor Description GitAddCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.codehaus.plexus.util.cli.Commandline
createCommandLine(java.io.File workingDirectory, java.util.List<java.io.File> files)
protected ScmResult
executeAddCommand(ScmProviderRepository repo, ScmFileSet fileSet, java.lang.String message, boolean binary)
private AddScmResult
executeAddFiles(java.io.File workingDirectory, java.util.List<java.io.File> files)
private AddScmResult
executeAddFileSet(ScmFileSet fileSet)
-
Methods inherited from class org.apache.maven.scm.command.add.AbstractAddCommand
executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
-
-
-
Method Detail
-
executeAddCommand
protected ScmResult executeAddCommand(ScmProviderRepository repo, ScmFileSet fileSet, java.lang.String message, boolean binary) throws ScmException
- Specified by:
executeAddCommand
in classAbstractAddCommand
- Throws:
ScmException
-
createCommandLine
public static org.codehaus.plexus.util.cli.Commandline createCommandLine(java.io.File workingDirectory, java.util.List<java.io.File> files) throws ScmException
- Throws:
ScmException
-
executeAddFileSet
private AddScmResult executeAddFileSet(ScmFileSet fileSet) throws ScmException
- Throws:
ScmException
-
executeAddFiles
private AddScmResult executeAddFiles(java.io.File workingDirectory, java.util.List<java.io.File> files) throws ScmException
- Throws:
ScmException
-
-