hudson.os.windows
Class WindowsRemoteFileSystem

java.lang.Object
  extended by hudson.os.windows.WindowsRemoteFileSystem
All Implemented Interfaces:
hudson.tools.JDKInstaller.FileSystem

public class WindowsRemoteFileSystem
extends Object
implements hudson.tools.JDKInstaller.FileSystem

JDKInstaller.FileSystem implementation for remote Windows system.

Author:
Kohsuke Kawaguchi

Constructor Summary
WindowsRemoteFileSystem(String hostName, jcifs.smb.NtlmPasswordAuthentication auth)
           
 
Method Summary
 void chmod(String file, int mode)
           
 void delete(String file)
           
 List<String> listSubDirectories(String dir)
           
 void mkdirs(String path)
           
 void pullUp(String from, String to)
           
 InputStream read(String file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsRemoteFileSystem

public WindowsRemoteFileSystem(String hostName,
                               jcifs.smb.NtlmPasswordAuthentication auth)
Method Detail

delete

public void delete(String file)
            throws IOException,
                   InterruptedException
Specified by:
delete in interface hudson.tools.JDKInstaller.FileSystem
Throws:
IOException
InterruptedException

chmod

public void chmod(String file,
                  int mode)
           throws IOException,
                  InterruptedException
Specified by:
chmod in interface hudson.tools.JDKInstaller.FileSystem
Throws:
IOException
InterruptedException

read

public InputStream read(String file)
                 throws IOException
Specified by:
read in interface hudson.tools.JDKInstaller.FileSystem
Throws:
IOException

listSubDirectories

public List<String> listSubDirectories(String dir)
                                throws IOException,
                                       InterruptedException
Specified by:
listSubDirectories in interface hudson.tools.JDKInstaller.FileSystem
Throws:
IOException
InterruptedException

pullUp

public void pullUp(String from,
                   String to)
            throws IOException,
                   InterruptedException
Specified by:
pullUp in interface hudson.tools.JDKInstaller.FileSystem
Throws:
IOException
InterruptedException

mkdirs

public void mkdirs(String path)
            throws IOException
Throws:
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.