org.hudsonci.plugins.jna
Class JnaZfsSupport
java.lang.Object
hudson.model.AbstractDescribableImpl<org.eclipse.hudson.jna.NativeZfsSupport>
org.eclipse.hudson.jna.NativeZfsSupport
org.hudsonci.plugins.jna.JnaZfsSupport
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<org.eclipse.hudson.jna.NativeZfsSupport>, Serializable
public class JnaZfsSupport
- extends org.eclipse.hudson.jna.NativeZfsSupport
JNA based ZFS 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.NativeZfsSupport |
all, getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JnaZfsSupport
@DataBoundConstructor
public JnaZfsSupport()
hasSupportFor
public boolean hasSupportFor(org.eclipse.hudson.jna.NativeFunction nativeFunc)
- Specified by:
hasSupportFor in class org.eclipse.hudson.jna.NativeZfsSupport
getZfsRoots
public List<org.eclipse.hudson.jna.NativeZfsFileSystem> getZfsRoots()
throws org.eclipse.hudson.jna.NativeAccessException
- Specified by:
getZfsRoots in class org.eclipse.hudson.jna.NativeZfsSupport
- Throws:
org.eclipse.hudson.jna.NativeAccessException
getZfsByMountPoint
public org.eclipse.hudson.jna.NativeZfsFileSystem getZfsByMountPoint(File mountPoint)
throws org.eclipse.hudson.jna.NativeAccessException
- Specified by:
getZfsByMountPoint in class org.eclipse.hudson.jna.NativeZfsSupport
- Throws:
org.eclipse.hudson.jna.NativeAccessException
createZfs
public org.eclipse.hudson.jna.NativeZfsFileSystem createZfs(String mountName)
throws org.eclipse.hudson.jna.NativeAccessException
- Specified by:
createZfs in class org.eclipse.hudson.jna.NativeZfsSupport
- Throws:
org.eclipse.hudson.jna.NativeAccessException
openZfs
public org.eclipse.hudson.jna.NativeZfsFileSystem openZfs(String target)
throws org.eclipse.hudson.jna.NativeAccessException
- Specified by:
openZfs in class org.eclipse.hudson.jna.NativeZfsSupport
- Throws:
org.eclipse.hudson.jna.NativeAccessException
zfsExists
public boolean zfsExists(String zfsName)
throws org.eclipse.hudson.jna.NativeAccessException
- Specified by:
zfsExists in class org.eclipse.hudson.jna.NativeZfsSupport
- Throws:
org.eclipse.hudson.jna.NativeAccessException
getLastError
public String getLastError()
- Specified by:
getLastError in class org.eclipse.hudson.jna.NativeZfsSupport
Copyright © 2004-2012 Hudson. All Rights Reserved.