com.tek42.perforce.process
Interface ExecutorFactory

All Known Implementing Classes:
DefaultExecutorFactory, HudsonP4ExecutorFactory

public interface ExecutorFactory

Parent interface to handle creation of new Executor objects.

Author:
Mike Wille

Method Summary
 Executor newExecutor()
          Creates a new executor for running a process.
 void setEnv(Map<String,String> env)
          Sets a the environment variables for processes to be run.
 

Method Detail

setEnv

void setEnv(Map<String,String> env)
Sets a the environment variables for processes to be run.

Parameters:
env -

newExecutor

Executor newExecutor()
Creates a new executor for running a process.

Returns:


Copyright © 2004-2013 Hudson. All Rights Reserved.