Class JGitInfoCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.provider.git.jgit.command.info.JGitInfoCommand
-
- All Implemented Interfaces:
Command,GitCommand
public class JGitInfoCommand extends AbstractCommand implements GitCommand
- Since:
- 1.9.5
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description JGitInfoCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScmResultexecuteCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)protected InfoItemgetInfoItem(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.ObjectId headObjectId, File file)protected InfoItemgetInfoItem(org.eclipse.jgit.revwalk.RevCommit fileCommit, File file)-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Constructor Detail
-
JGitInfoCommand
public JGitInfoCommand()
-
-
Method Detail
-
executeCommand
protected ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
- Specified by:
executeCommandin classAbstractCommand- Throws:
ScmException
-
getInfoItem
protected InfoItem getInfoItem(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.lib.ObjectId headObjectId, File file) throws IOException
- Throws:
IOException
-
getInfoItem
protected InfoItem getInfoItem(org.eclipse.jgit.revwalk.RevCommit fileCommit, File file)
-
-