org.hudsonci.plugins.jna
Class JnaNativeWindowsSupport
java.lang.Object
hudson.model.AbstractDescribableImpl<org.eclipse.hudson.jna.NativeWindowsSupport>
org.eclipse.hudson.jna.NativeWindowsSupport
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 classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| 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 |
JnaNativeWindowsSupport
@DataBoundConstructor
public JnaNativeWindowsSupport()
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.