com.atlassian.studio.svnimport.backend.commands
Class AbstractSvnlookTreeCommand

java.lang.Object
  extended by com.atlassian.studio.svnimport.backend.CommandExecutor
      extended by com.atlassian.studio.svnimport.backend.CommandExecutorWithDefaultPumpers
          extended by com.atlassian.studio.svnimport.backend.commands.AbstractSvnlookTreeCommand
Direct Known Subclasses:
DoesRepoMatchProjectStructure, IsRepoEmptyCommand

public abstract class AbstractSvnlookTreeCommand
extends CommandExecutorWithDefaultPumpers

User: kalamon Date: 2010-11-24 Time: 12:09:48


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.studio.svnimport.backend.CommandExecutor
CommandExecutor.CommandAbortedException, CommandExecutor.ExecuteException
 
Field Summary
protected  Pattern BRANCHES_REGEXP
           
protected  Pattern PROJECT_REGEXP
           
protected  Pattern TAGS_REGEXP
           
protected  Pattern TRUNK_REGEXP
           
 
Fields inherited from class com.atlassian.studio.svnimport.backend.CommandExecutorWithDefaultPumpers
PIPE
 
Fields inherited from class com.atlassian.studio.svnimport.backend.CommandExecutor
commands
 
Constructor Summary
AbstractSvnlookTreeCommand(ExternalCommands commands, String svnRepositoryPath, com.atlassian.sal.api.message.I18nResolver i18n, org.slf4j.Logger log)
           
 
Method Summary
abstract  boolean check()
           
protected  String getCommand()
           
protected  File getCwd()
           
 
Methods inherited from class com.atlassian.studio.svnimport.backend.CommandExecutorWithDefaultPumpers
getError, getErrorLines, getErrorPumper, getOutput, getOutputLines, getOutputPumper, quoted
 
Methods inherited from class com.atlassian.studio.svnimport.backend.CommandExecutor
abortExecutedProcess, execute, getI18n, getLog, safeGetCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_REGEXP

protected Pattern PROJECT_REGEXP

TAGS_REGEXP

protected Pattern TAGS_REGEXP

BRANCHES_REGEXP

protected Pattern BRANCHES_REGEXP

TRUNK_REGEXP

protected Pattern TRUNK_REGEXP
Constructor Detail

AbstractSvnlookTreeCommand

public AbstractSvnlookTreeCommand(ExternalCommands commands,
                                  String svnRepositoryPath,
                                  com.atlassian.sal.api.message.I18nResolver i18n,
                                  org.slf4j.Logger log)
Method Detail

getCommand

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

getCwd

protected File getCwd()
Specified by:
getCwd in class CommandExecutor

check

public abstract boolean check()
                       throws IOException,
                              CommandExecutor.ExecuteException,
                              InterruptedException
Throws:
IOException
CommandExecutor.ExecuteException
InterruptedException


Copyright © 2002-2012 Atlassian. All Rights Reserved.