Class GitStatusCommand
- java.lang.Object
- 
- org.apache.maven.scm.command.AbstractCommand
- 
- org.apache.maven.scm.command.status.AbstractStatusCommand
- 
- org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusCommand
 
 
 
- 
- All Implemented Interfaces:
- Command,- GitCommand
 
 public class GitStatusCommand extends AbstractStatusCommand implements GitCommand - Author:
- Brett Porter
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.maven.scm.command.AbstractCommandlogger
 
- 
 - 
Constructor SummaryConstructors Constructor Description GitStatusCommand()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet)static org.codehaus.plexus.util.cli.CommandlinecreateRevparseShowPrefix(ScmFileSet fileSet)protected StatusScmResultexecuteStatusCommand(ScmProviderRepository repo, ScmFileSet fileSet)static URIgetRelativeCWD(org.slf4j.Logger logger, ScmFileSet fileSet)Get the dir relative to the repository root.- 
Methods inherited from class org.apache.maven.scm.command.status.AbstractStatusCommandexecuteCommand
 - 
Methods inherited from class org.apache.maven.scm.command.AbstractCommandexecute
 
- 
 
- 
- 
- 
Constructor Detail- 
GitStatusCommandpublic GitStatusCommand() 
 
- 
 - 
Method Detail- 
executeStatusCommandprotected StatusScmResult executeStatusCommand(ScmProviderRepository repo, ScmFileSet fileSet) throws ScmException - Specified by:
- executeStatusCommandin class- AbstractStatusCommand
- Throws:
- ScmException
 
 - 
getRelativeCWDpublic static URI getRelativeCWD(org.slf4j.Logger logger, ScmFileSet fileSet) throws ScmException Get the dir relative to the repository root.- Parameters:
- logger- the caller command logger
- fileSet- in which subdir to execute
- Returns:
- the relative URI
- Throws:
- ScmException- if execute() fails
 
 - 
createCommandLinepublic static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet) 
 - 
createRevparseShowPrefixpublic static org.codehaus.plexus.util.cli.Commandline createRevparseShowPrefix(ScmFileSet fileSet) 
 
- 
 
-