Package hudson.plugins.libvirt.lib
Interface IConnect
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
LibVirtConnectImpl
public interface IConnect extends AutoCloseable
- Version:
- 04/02/2014
- Author:
- Nigel Magnay
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
IDomain
domainLookupByID(int c)
IDomain
domainLookupByName(String c)
long
getVersion()
boolean
isConnected()
String[]
listDefinedDomains()
int[]
listDomains()
-
-
-
Method Detail
-
getVersion
long getVersion() throws VirtException
- Throws:
VirtException
-
listDomains
int[] listDomains() throws VirtException
- Throws:
VirtException
-
listDefinedDomains
String[] listDefinedDomains() throws VirtException
- Throws:
VirtException
-
domainLookupByName
IDomain domainLookupByName(String c) throws VirtException
- Throws:
VirtException
-
domainLookupByID
IDomain domainLookupByID(int c) throws VirtException
- Throws:
VirtException
-
close
void close() throws VirtException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
VirtException
-
isConnected
boolean isConnected() throws VirtException
- Throws:
VirtException
-
-