public class Secret
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Libvirt |
libvirt
The libvirt connection from the hypervisor
|
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
int |
free()
Release the secret handle.
|
java.lang.String |
getUsageID()
Get the unique identifier of the object with which this secret is to be
used.
|
int[] |
getUUID()
Get the UUID for this secret.
|
java.lang.String |
getUUIDString()
Gets the UUID for this secret as string.
|
java.lang.String |
getValue()
Fetches the value of the secret
|
java.lang.String |
getXMLDesc()
Fetches an XML document describing attributes of the secret.
|
protected void |
processError()
Error handling logic to throw errors.
|
int |
setValue(java.lang.String value)
Sets the value of the secret
|
int |
undefine()
Undefines, but does not free, the Secret.
|
protected Libvirt libvirt
public void finalize() throws LibvirtException
finalize
in class java.lang.Object
LibvirtException
public int free() throws LibvirtException
LibvirtException
public java.lang.String getUsageID() throws LibvirtException
LibvirtException
public int[] getUUID() throws LibvirtException
LibvirtException
public java.lang.String getUUIDString() throws LibvirtException
LibvirtException
public java.lang.String getValue() throws LibvirtException
LibvirtException
public java.lang.String getXMLDesc() throws LibvirtException
LibvirtException
protected void processError() throws LibvirtException
LibvirtException
public int setValue(java.lang.String value) throws LibvirtException
LibvirtException
public int undefine() throws LibvirtException
LibvirtException