org.apache.maven.scm.provider.integrity.command.fileinfo
Class IntegrityFileInfoCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.fileinfo.AbstractFileInfoCommand
org.apache.maven.scm.provider.integrity.command.fileinfo.IntegrityFileInfoCommand
- All Implemented Interfaces:
- Command
public class IntegrityFileInfoCommand
- extends AbstractFileInfoCommand
MKS Integrity implementation for Maven's AbstractFileInfoCommand
This command will run a 'si memberinfo' command. Even though this
command is supported via the API, we're using the CLI to execute as
its not clear what exactly this command is supposed to be returning
to the Maven SCM framework. Hence the CLI output is returned to the
console verbatim
- Since:
- 1.6
- Version:
- $Id: IntegrityFileInfoCommand.java 1.3 2011/08/22 13:06:28EDT Cletus D'Souza (dsouza) Exp $
- Author:
- Cletus D'Souza
Fields inherited from interface org.apache.maven.scm.command.Command |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegrityFileInfoCommand
public IntegrityFileInfoCommand()
executeFileInfoCommand
public ScmResult executeFileInfoCommand(ScmProviderRepository repository,
File workingDirectory,
String filename)
throws ScmException
- Even though this command is supported via the MKS JAVA API, since at this time we really don't
know what the SCM plugin is looking to get in return for this command, we're simply going to
run this command via the CLI and return the output verbatim
- Specified by:
executeFileInfoCommand
in class AbstractFileInfoCommand
- Throws:
ScmException
executeCommand
protected ScmResult executeCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
-
- Specified by:
executeCommand
in class AbstractCommand
- Throws:
ScmException
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.