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.ObjectLibvirtExceptionpublic int free()
throws LibvirtException
LibvirtExceptionpublic java.lang.String getUsageID()
throws LibvirtException
LibvirtExceptionpublic int[] getUUID()
throws LibvirtException
LibvirtExceptionpublic java.lang.String getUUIDString()
throws LibvirtException
LibvirtExceptionpublic java.lang.String getValue()
throws LibvirtException
LibvirtExceptionpublic java.lang.String getXMLDesc()
throws LibvirtException
LibvirtExceptionprotected void processError()
throws LibvirtException
LibvirtExceptionpublic int setValue(java.lang.String value)
throws LibvirtException
LibvirtExceptionpublic int undefine()
throws LibvirtException
LibvirtException