Class GitCheckInCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.checkin.AbstractCheckInCommand
-
- org.apache.maven.scm.provider.git.gitexe.command.checkin.GitCheckInCommand
-
- All Implemented Interfaces:
Command
,GitCommand
public class GitCheckInCommand extends AbstractCheckInCommand implements GitCommand
- Author:
- Mark Struberg, Olivier Lamy
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.checkin.AbstractCheckInCommand
NAME
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description GitCheckInCommand(Map<String,String> environmentVariables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.codehaus.plexus.util.cli.Commandline
createCommitCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, File messageFile)
Deprecated.static org.codehaus.plexus.util.cli.Commandline
createCommitCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, File messageFile, Map<String,String> environmentVariables)
Deprecated.static org.codehaus.plexus.util.cli.Commandline
createCommitCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, File messageFile, Map<String,String> environmentVariables, CommandParameters.SignOption signOption)
org.codehaus.plexus.util.cli.Commandline
createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version)
protected CheckInScmResult
executeCheckInCommand(ScmProviderRepository repository, ScmFileSet fileSet, String message, ScmVersion scmVersion)
protected CheckInScmResult
executeCheckInCommand(ScmProviderRepository repo, ScmFileSet fileSet, String message, ScmVersion version, CommandParameters.SignOption signOption)
-
Methods inherited from class org.apache.maven.scm.command.checkin.AbstractCheckInCommand
executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Constructor Detail
-
GitCheckInCommand
public GitCheckInCommand(Map<String,String> environmentVariables)
-
-
Method Detail
-
executeCheckInCommand
protected CheckInScmResult executeCheckInCommand(ScmProviderRepository repository, ScmFileSet fileSet, String message, ScmVersion scmVersion) throws ScmException
- Specified by:
executeCheckInCommand
in classAbstractCheckInCommand
- Returns:
- Throws:
ScmException
-
executeCheckInCommand
protected CheckInScmResult executeCheckInCommand(ScmProviderRepository repo, ScmFileSet fileSet, String message, ScmVersion version, CommandParameters.SignOption signOption) throws ScmException
- Overrides:
executeCheckInCommand
in classAbstractCheckInCommand
- Throws:
ScmException
-
createPushCommandLine
public org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version) throws ScmException
- Throws:
ScmException
-
createCommitCommandLine
@Deprecated public static org.codehaus.plexus.util.cli.Commandline createCommitCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, File messageFile) throws ScmException
Deprecated.- Throws:
ScmException
-
createCommitCommandLine
@Deprecated public static org.codehaus.plexus.util.cli.Commandline createCommitCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, File messageFile, Map<String,String> environmentVariables) throws ScmException
Deprecated.- Throws:
ScmException
-
createCommitCommandLine
public static org.codehaus.plexus.util.cli.Commandline createCommitCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, File messageFile, Map<String,String> environmentVariables, CommandParameters.SignOption signOption) throws ScmException
- Throws:
ScmException
-
-