public class DomainSnapshot
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DomainSnapshot.SnapshotDeleteFlags |
Constructor and Description |
---|
DomainSnapshot(Connect virConnect,
DomainSnapshotPointer vdsp) |
Modifier and Type | Method and Description |
---|---|
int |
delete(int flags)
Delete the Snapshot
|
protected void |
finalize() |
int |
free()
Release the domain snapshot handle.
|
java.lang.String |
getXMLDesc()
Fetches an XML document describing attributes of the snapshot.
|
public DomainSnapshot(Connect virConnect, DomainSnapshotPointer vdsp)
public int delete(int flags) throws LibvirtException
flags
- see DomainSnapshot.SnapshotDeleteFlags
controls the deletionLibvirtException
protected void finalize() throws LibvirtException
finalize
in class java.lang.Object
LibvirtException
public int free() throws LibvirtException
LibvirtException
public java.lang.String getXMLDesc() throws LibvirtException
LibvirtException