org.apache.maven.scm.provider.integrity.command.mkdir
Class IntegrityMkdirCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.mkdir.AbstractMkdirCommand
          extended by org.apache.maven.scm.provider.integrity.command.mkdir.IntegrityMkdirCommand
All Implemented Interfaces:
Command

public class IntegrityMkdirCommand
extends AbstractMkdirCommand

MKS Integrity implementation of Maven's AbstractMkdirCommand
This command will execute an 'si createsubproject' for the relative path represented in the fileSet.getFileList().iterator().next() entry.
A single subproject is created required for every directory encountered in the relative path.

Since:
1.6
Version:
$Id: IntegrityMkdirCommand.java 1.3 2011/08/22 13:06:34EDT Cletus D'Souza (dsouza) Exp $
Author:
Cletus D'Souza

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
IntegrityMkdirCommand()
           
 
Method Summary
 MkdirScmResult executeMkdirCommand(ScmProviderRepository repository, ScmFileSet fileSet, String message, boolean createInLocal)
          Creates a subproject in the Integrity repository.
 
Methods inherited from class org.apache.maven.scm.command.mkdir.AbstractMkdirCommand
executeCommand
 
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityMkdirCommand

public IntegrityMkdirCommand()
Method Detail

executeMkdirCommand

public MkdirScmResult executeMkdirCommand(ScmProviderRepository repository,
                                          ScmFileSet fileSet,
                                          String message,
                                          boolean createInLocal)
                                   throws ScmException
Creates a subproject in the Integrity repository.
However, since the subproject automatically creates a folder in the local sandbox, the createInLocal argument will be ignored

Specified by:
executeMkdirCommand in class AbstractMkdirCommand
createInLocal - TODO
Returns:
Throws:
ScmException


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.