hudson.os.solaris
Class ZFSInstaller
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.AdministrativeMonitor
hudson.os.solaris.ZFSInstaller
- All Implemented Interfaces:
- ExtensionPoint, ModelObject, SearchableModelObject, SearchItem, Serializable
public class ZFSInstaller
- extends AdministrativeMonitor
- implements Serializable
Encourages the user to migrate JENKINS_HOME on a ZFS file system.
- Since:
- 1.283
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
Field Summary |
static boolean |
disabled
Escape hatch in case JNI calls fatally crash, like in HUDSON-3733. |
Method Summary |
org.kohsuke.stapler.HttpResponse |
doAct(org.kohsuke.stapler.StaplerRequest req)
Called from the management screen. |
void |
doStart(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String username,
String password)
Called from the confirmation screen to actually initiate the migration. |
String |
getProspectiveZfsFileSystemName()
|
static AdministrativeMonitor |
init()
|
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message. |
boolean |
isRoot()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
disabled
public static boolean disabled
- Escape hatch in case JNI calls fatally crash, like in HUDSON-3733.
ZFSInstaller
public ZFSInstaller()
isActivated
public boolean isActivated()
- Description copied from class:
AdministrativeMonitor
- Returns true if this monitor is activated and
wants to produce a warning message.
This method is called from the HTML rendering thread,
so it should run efficiently.
- Specified by:
isActivated
in class AdministrativeMonitor
isRoot
public boolean isRoot()
getProspectiveZfsFileSystemName
public String getProspectiveZfsFileSystemName()
doAct
public org.kohsuke.stapler.HttpResponse doAct(org.kohsuke.stapler.StaplerRequest req)
throws javax.servlet.ServletException,
IOException
- Called from the management screen.
- Throws:
javax.servlet.ServletException
IOException
doStart
public void doStart(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter
String username,
@QueryParameter
String password)
throws javax.servlet.ServletException,
IOException
- Called from the confirmation screen to actually initiate the migration.
- Throws:
javax.servlet.ServletException
IOException
init
@Extension
public static AdministrativeMonitor init()
Copyright © 2004-2013. All Rights Reserved.