public class GitInfoCommand extends AbstractCommand implements GitCommand
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_REVISION_LENGTH |
| Constructor and Description |
|---|
GitInfoCommand() |
| Modifier and Type | Method and Description |
|---|---|
static org.codehaus.plexus.util.cli.Commandline |
createCommandLine(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters) |
protected ScmResult |
executeCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters) |
private static int |
getRevisionLength(CommandParameters parameters)
Get the revision length from the parameters
|
execute, getLogger, setLoggerpublic static final int NO_REVISION_LENGTH
protected ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
executeCommand in class AbstractCommandScmExceptionpublic static org.codehaus.plexus.util.cli.Commandline createCommandLine(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
ScmExceptionprivate static int getRevisionLength(CommandParameters parameters) throws ScmException
parameters - CommandParameter.SCM_SHORT_REVISION_LENGTH is absent, ScmException