Package hudson.plugins.libvirt.lib
Interface IDomain
-
- All Known Implementing Classes:
LibVirtDomainImpl
public interface IDomain
- Version:
- 04/02/2014
- Author:
- Nigel Magnay
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create()
void
destroy()
String
getName()
boolean
isNotBlockedAndNotRunning()
boolean
isRunningOrBlocked()
void
revertToSnapshot(IDomainSnapshot aVoid)
void
shutdown()
String[]
snapshotListNames()
IDomainSnapshot
snapshotLookupByName(String snapshotName)
int
snapshotNum()
void
suspend()
-
-
-
Method Detail
-
getName
String getName() throws VirtException
- Throws:
VirtException
-
snapshotListNames
String[] snapshotListNames() throws VirtException
- Throws:
VirtException
-
snapshotNum
int snapshotNum() throws VirtException
- Throws:
VirtException
-
snapshotLookupByName
IDomainSnapshot snapshotLookupByName(String snapshotName) throws VirtException
- Throws:
VirtException
-
revertToSnapshot
void revertToSnapshot(IDomainSnapshot aVoid) throws VirtException
- Throws:
VirtException
-
shutdown
void shutdown() throws VirtException
- Throws:
VirtException
-
isRunningOrBlocked
boolean isRunningOrBlocked() throws VirtException
- Throws:
VirtException
-
isNotBlockedAndNotRunning
boolean isNotBlockedAndNotRunning() throws VirtException
- Throws:
VirtException
-
create
void create() throws VirtException
- Throws:
VirtException
-
destroy
void destroy() throws VirtException
- Throws:
VirtException
-
suspend
void suspend() throws VirtException
- Throws:
VirtException
-
-