Package hudson.plugins.libvirt
Class PluginImpl
java.lang.Object
hudson.Plugin
hudson.plugins.libvirt.PluginImpl
- Author:
- Marco Mornati, Philipp Bartsch
-
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 -
Method Summary
Modifier and TypeMethodDescriptiondoCheckStartupTimesToRetryOnFailure(String retriesValue) doCheckStartupWaitingPeriodSeconds(String secsValue) voiddoComputerNameValues(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, String value) Retrieve the list of virtual machine names from the hypervisor.voiddoSnapshotNameValues(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, String vm, String hypervisor) Retrieve the list of snapshots from a virtual machine on an hypervisor.static PluginImplReturns this singleton instance.voidstart()voidstop()Methods inherited from class hudson.Plugin
configure, configure, configure, doDynamic, doDynamic, getConfigXml, getTarget, getWrapper, load, postInitialize, save, setServletContext
-
Constructor Details
-
PluginImpl
public PluginImpl()Constructor.
-
-
Method Details
-
getInstance
Returns this singleton instance.- Returns:
- the singleton.
-
start
-
stop
-
getServers
-
getServer
-
doCheckStartupWaitingPeriodSeconds
@POST public FormValidation doCheckStartupWaitingPeriodSeconds(@QueryParameter String secsValue) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
doCheckStartupTimesToRetryOnFailure
@POST public FormValidation doCheckStartupTimesToRetryOnFailure(@QueryParameter String retriesValue) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
doComputerNameValues
@POST public void doComputerNameValues(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter("value") String value) throws IOException, jakarta.servlet.ServletException Retrieve the list of virtual machine names from the hypervisor.- Throws:
IOExceptionjakarta.servlet.ServletException
-
doSnapshotNameValues
@POST public void doSnapshotNameValues(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter("vm") String vm, @QueryParameter("hypervisor") String hypervisor) throws IOException, jakarta.servlet.ServletException Retrieve the list of snapshots from a virtual machine on an hypervisor.- Throws:
IOExceptionjakarta.servlet.ServletException
-