nl.toolforge.karma.core.vc
Class RunnerFactory

java.lang.Object
  extended bynl.toolforge.karma.core.vc.RunnerFactory

public final class RunnerFactory
extends java.lang.Object

Factory producing Runner instances.

Version:
$Id: RunnerFactory.java,v 1.14 2004/11/10 22:25:11 hippe Exp $
Author:
D.A. Smedes

Method Summary
static Runner getRunner(Location location)
          A Runner might be required for a command to execute something on a version control system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRunner

public static Runner getRunner(Location location)
                        throws VersionControlException,
                               AuthenticationException
A Runner might be required for a command to execute something on a version control system. A module can determine which implementation of a runner it requires through the Module.getLocation() method.

Parameters:
location - The location for which a runner is required.
Returns:
A version control system specific Runner.
Throws:
VersionControlException
AuthenticationException


Copyright © 2002-2004 Toolforge. All Rights Reserved.