org.hudsonci.plugins.jna
Class JnaNativeWindowsSupport

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<org.eclipse.hudson.jna.NativeWindowsSupport>
      extended by org.eclipse.hudson.jna.NativeWindowsSupport
          extended by org.hudsonci.plugins.jna.JnaNativeWindowsSupport
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<org.eclipse.hudson.jna.NativeWindowsSupport>, Serializable

public class JnaNativeWindowsSupport
extends org.eclipse.hudson.jna.NativeWindowsSupport

JNA based Native Support Extension for Hudson

See Also:
Serialized Form

Nested Class Summary
static class JnaNativeWindowsSupport.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
JnaNativeWindowsSupport()
           
 
Method Summary
 String getLastError()
           
 List<org.eclipse.hudson.jna.NativeProcess> getWindowsProcesses()
           
 int getWindowsProcessId(Process process)
           
 boolean hasSupportFor(org.eclipse.hudson.jna.NativeFunction nativeFunc)
           
 boolean isDotNetInstalled(int major, int minor)
           
 int windowsExec(File winExe, String args, String logFile, File pwd)
           
 void windowsMoveFile(File fromFile, File toFile)
           
 
Methods inherited from class org.eclipse.hudson.jna.NativeWindowsSupport
all, getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JnaNativeWindowsSupport

@DataBoundConstructor
public JnaNativeWindowsSupport()
Method Detail

hasSupportFor

public boolean hasSupportFor(org.eclipse.hudson.jna.NativeFunction nativeFunc)
Specified by:
hasSupportFor in class org.eclipse.hudson.jna.NativeWindowsSupport

getLastError

public String getLastError()
Specified by:
getLastError in class org.eclipse.hudson.jna.NativeWindowsSupport

isDotNetInstalled

public boolean isDotNetInstalled(int major,
                                 int minor)
                          throws org.eclipse.hudson.jna.NativeAccessException
Specified by:
isDotNetInstalled in class org.eclipse.hudson.jna.NativeWindowsSupport
Throws:
org.eclipse.hudson.jna.NativeAccessException

getWindowsProcesses

public List<org.eclipse.hudson.jna.NativeProcess> getWindowsProcesses()
Specified by:
getWindowsProcesses in class org.eclipse.hudson.jna.NativeWindowsSupport

getWindowsProcessId

public int getWindowsProcessId(Process process)
Specified by:
getWindowsProcessId in class org.eclipse.hudson.jna.NativeWindowsSupport

windowsExec

public int windowsExec(File winExe,
                       String args,
                       String logFile,
                       File pwd)
                throws org.eclipse.hudson.jna.NativeAccessException
Specified by:
windowsExec in class org.eclipse.hudson.jna.NativeWindowsSupport
Throws:
org.eclipse.hudson.jna.NativeAccessException

windowsMoveFile

public void windowsMoveFile(File fromFile,
                            File toFile)
Specified by:
windowsMoveFile in class org.eclipse.hudson.jna.NativeWindowsSupport


Copyright © 2004-2012 Hudson. All Rights Reserved.