hudson.os.windows
Class WindowsRemoteLauncher

java.lang.Object
  extended by hudson.Launcher
      extended by hudson.os.windows.WindowsRemoteLauncher

public class WindowsRemoteLauncher
extends hudson.Launcher

Pseudo-Launcher implementation that uses WindowsRemoteProcessLauncher

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.Launcher
hudson.Launcher.LocalLauncher, hudson.Launcher.ProcStarter, hudson.Launcher.RemoteLauncher
 
Field Summary
 
Fields inherited from class hudson.Launcher
channel, listener, showFullPath
 
Constructor Summary
WindowsRemoteLauncher(hudson.model.TaskListener listener, org.jvnet.hudson.remcom.WindowsRemoteProcessLauncher launcher)
           
 
Method Summary
 void kill(Map<String,String> modelEnvVars)
           
 hudson.Proc launch(hudson.Launcher.ProcStarter ps)
           
 hudson.remoting.Channel launchChannel(String[] cmd, OutputStream out, hudson.FilePath _workDir, Map<String,String> envVars)
           
 
Methods inherited from class hudson.Launcher
decorateByPrefix, decorateFor, getChannel, getComputer, getListener, isUnix, launch, launch, launch, launch, launch, launch, launch, launch, launch, launch, launch, launch, launch, maskedPrintCommandLine, maskedPrintCommandLine, printCommandLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsRemoteLauncher

public WindowsRemoteLauncher(hudson.model.TaskListener listener,
                             org.jvnet.hudson.remcom.WindowsRemoteProcessLauncher launcher)
Method Detail

launch

public hudson.Proc launch(hudson.Launcher.ProcStarter ps)
                   throws IOException
Specified by:
launch in class hudson.Launcher
Throws:
IOException

launchChannel

public hudson.remoting.Channel launchChannel(String[] cmd,
                                             OutputStream out,
                                             hudson.FilePath _workDir,
                                             Map<String,String> envVars)
                                      throws IOException,
                                             InterruptedException
Specified by:
launchChannel in class hudson.Launcher
Throws:
IOException
InterruptedException

kill

public void kill(Map<String,String> modelEnvVars)
          throws IOException,
                 InterruptedException
Specified by:
kill in class hudson.Launcher
Throws:
IOException
InterruptedException


Copyright © 2004-2011 Hudson. All Rights Reserved.