org.hudsonci.plugins.jna
Class JnaZfsSupport

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<org.eclipse.hudson.jna.NativeZfsSupport>
      extended by org.eclipse.hudson.jna.NativeZfsSupport
          extended by 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 Class Summary
static class JnaZfsSupport.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
JnaZfsSupport()
           
 
Method Summary
 org.eclipse.hudson.jna.NativeZfsFileSystem createZfs(String mountName)
           
 String getLastError()
           
 org.eclipse.hudson.jna.NativeZfsFileSystem getZfsByMountPoint(File mountPoint)
           
 List<org.eclipse.hudson.jna.NativeZfsFileSystem> getZfsRoots()
           
 boolean hasSupportFor(org.eclipse.hudson.jna.NativeFunction nativeFunc)
           
 org.eclipse.hudson.jna.NativeZfsFileSystem openZfs(String target)
           
 boolean zfsExists(String zfsName)
           
 
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
 

Constructor Detail

JnaZfsSupport

@DataBoundConstructor
public JnaZfsSupport()
Method Detail

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.