com.aragost.javahg.commands
Class ImportCommand

java.lang.Object
  extended by com.aragost.javahg.internals.AbstractCommand
      extended by com.aragost.javahg.commands.flags.ImportCommandFlags
          extended by com.aragost.javahg.commands.ImportCommand

public class ImportCommand
extends ImportCommandFlags


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
ImportCommand(Repository repository)
           
 
Method Summary
 void execute(File... files)
          Run hg import on the files.
 void execute(String... files)
          Run hg import on the files.
 
Methods inherited from class com.aragost.javahg.commands.flags.ImportCommandFlags
base, bypass, date, exact, force, getCommandName, importBranch, message, noCommit, on, similarity, user
 
Methods inherited from class com.aragost.javahg.internals.AbstractCommand
cancel, clear, cmdAppend, cmdAppend, cmdAppend, cmdAppend, cmdAppend, doneHook, getErrorString, getRepository, getReturnCode, isSuccessful, launchIterator, launchStream, launchString, needsInputLine, reopenOutputChannelStream, sendLine, toString, withDebugAndChangesetStyle, withDebugFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportCommand

public ImportCommand(Repository repository)
Method Detail

execute

public void execute(String... files)
             throws IOException
Run hg import on the files.

Parameters:
files - the input files
Throws:
IOException

execute

public void execute(File... files)
             throws IOException
Run hg import on the files.

Parameters:
files - the input files
Throws:
IOException


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.