com.atlassian.studio.svnimport.backend
Class CommandExecutorWithDefaultPumpers

java.lang.Object
  extended by com.atlassian.studio.svnimport.backend.CommandExecutor
      extended by com.atlassian.studio.svnimport.backend.CommandExecutorWithDefaultPumpers
Direct Known Subclasses:
AbstractSvnlookTreeCommand, CreateSvnRepositoryCommand, DumpSvnRepoCommand, GetMaxRevisionCommand, GetSvnDumpUsersCommand, LoadDumpToSvnRepoCommand, SudoCommand

public abstract class CommandExecutorWithDefaultPumpers
extends CommandExecutor

User: kalamon Date: 2010-11-18 Time: 12:41:37


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.studio.svnimport.backend.CommandExecutor
CommandExecutor.CommandAbortedException, CommandExecutor.ExecuteException
 
Field Summary
protected static String PIPE
           
 
Fields inherited from class com.atlassian.studio.svnimport.backend.CommandExecutor
commands
 
Constructor Summary
protected CommandExecutorWithDefaultPumpers(ExternalCommands commands, Class clazz, com.atlassian.sal.api.message.I18nResolver i18n, org.slf4j.Logger log)
           
 
Method Summary
protected  String getError()
           
 List<String> getErrorLines()
           
protected  OutputPumper getErrorPumper()
           
protected  String getOutput()
           
 List<String> getOutputLines()
           
protected  OutputPumper getOutputPumper()
           
protected static String quoted(String fileName)
           
 
Methods inherited from class com.atlassian.studio.svnimport.backend.CommandExecutor
abortExecutedProcess, execute, getCommand, getCwd, getI18n, getLog, safeGetCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PIPE

protected static final String PIPE
See Also:
Constant Field Values
Constructor Detail

CommandExecutorWithDefaultPumpers

protected CommandExecutorWithDefaultPumpers(ExternalCommands commands,
                                            Class clazz,
                                            com.atlassian.sal.api.message.I18nResolver i18n,
                                            org.slf4j.Logger log)
Method Detail

getOutputLines

public List<String> getOutputLines()

getErrorLines

public List<String> getErrorLines()

quoted

protected static String quoted(String fileName)

getOutputPumper

protected OutputPumper getOutputPumper()
Specified by:
getOutputPumper in class CommandExecutor

getErrorPumper

protected OutputPumper getErrorPumper()
Specified by:
getErrorPumper in class CommandExecutor

getError

protected String getError()
Specified by:
getError in class CommandExecutor

getOutput

protected String getOutput()
Specified by:
getOutput in class CommandExecutor


Copyright © 2002-2012 Atlassian. All Rights Reserved.