Package hudson.plugins.libvirt
Class PluginImpl
- java.lang.Object
-
- hudson.Plugin
-
- hudson.plugins.libvirt.PluginImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.Plugin
Plugin.DummyImpl
-
-
Field Summary
-
Fields inherited from class hudson.Plugin
SKIP_PERMISSION_CHECK
-
-
Constructor Summary
Constructors Constructor Description PluginImpl()
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckStartupTimesToRetryOnFailure(String retriesValue)
FormValidation
doCheckStartupWaitingPeriodSeconds(String secsValue)
void
doComputerNameValues(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String value)
void
doSnapshotNameValues(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String vm, String hypervisor)
static PluginImpl
getInstance()
Returns this singleton instance.Hypervisor
getServer(String host)
Collection<Hypervisor>
getServers()
void
start()
void
stop()
-
Methods inherited from class hudson.Plugin
configure, configure, doDynamic, getConfigXml, getTarget, getWrapper, load, postInitialize, save, setServletContext
-
-
-
-
Method Detail
-
getInstance
public static PluginImpl getInstance()
Returns this singleton instance.- Returns:
- the singleton.
-
getServers
public Collection<Hypervisor> getServers()
-
getServer
public Hypervisor getServer(String host)
-
doCheckStartupWaitingPeriodSeconds
@POST public FormValidation doCheckStartupWaitingPeriodSeconds(@QueryParameter String secsValue) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckStartupTimesToRetryOnFailure
@POST public FormValidation doCheckStartupTimesToRetryOnFailure(@QueryParameter String retriesValue) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doComputerNameValues
public void doComputerNameValues(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String value) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doSnapshotNameValues
public void doSnapshotNameValues(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("vm") String vm, @QueryParameter("hypervisor") String hypervisor) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
-