com.tek42.perforce.process
Class DefaultExecutorFactory

java.lang.Object
  extended by com.tek42.perforce.process.DefaultExecutorFactory
All Implemented Interfaces:
ExecutorFactory

public class DefaultExecutorFactory
extends java.lang.Object
implements ExecutorFactory

Default @{link ExecutorFactory} that handles creating new CmdLineExecutors

Author:
Mike Wille

Constructor Summary
DefaultExecutorFactory()
           
 
Method Summary
 Executor newExecutor()
          Creates a new executor for running a process.
 void setEnv(java.util.Map<java.lang.String,java.lang.String> env)
          Sets a the environment variables for processes to be run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExecutorFactory

public DefaultExecutorFactory()
Method Detail

newExecutor

public Executor newExecutor()
Description copied from interface: ExecutorFactory
Creates a new executor for running a process.

Specified by:
newExecutor in interface ExecutorFactory
Returns:

setEnv

public void setEnv(java.util.Map<java.lang.String,java.lang.String> env)
Description copied from interface: ExecutorFactory
Sets a the environment variables for processes to be run.

Specified by:
setEnv in interface ExecutorFactory


Copyright © 2009. All Rights Reserved.