Class GitInfoCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.provider.git.gitexe.command.info.GitInfoCommand
-
- All Implemented Interfaces:
Command
,GitCommand
public class GitInfoCommand extends AbstractCommand implements GitCommand
Usesgit log
command to retrieve info about the most recent commits related to specific files.- Since:
- 1.5
- Author:
- Olivier Lamy
-
-
Field Summary
Fields Modifier and Type Field Description static int
NO_REVISION_LENGTH
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description GitInfoCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScmResult
executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)
protected InfoItem
executeInfoCommand(org.codehaus.plexus.util.cli.Commandline cli, CommandParameters parameters, File scmFile)
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Field Detail
-
NO_REVISION_LENGTH
public static final int NO_REVISION_LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GitInfoCommand
public GitInfoCommand()
-
-
Method Detail
-
executeCommand
protected ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
- Specified by:
executeCommand
in classAbstractCommand
- Throws:
ScmException
-
executeInfoCommand
protected InfoItem executeInfoCommand(org.codehaus.plexus.util.cli.Commandline cli, CommandParameters parameters, File scmFile) throws ScmException
- Throws:
ScmException
-
-