com.xensource.xenapi
public class PoolPatch extends XenAPIObject
Modifier and Type | Class and Description |
---|---|
static class |
PoolPatch.Record
Represents all the fields in a PoolPatch
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ref
The XenAPI reference (OpaqueRef) to this object.
|
Modifier and Type | Method and Description |
---|---|
void |
addToOtherConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the other_config field of the given pool_patch.
|
java.lang.String |
apply(Connection c,
Host host)
Deprecated.
|
Task |
applyAsync(Connection c,
Host host)
Deprecated.
|
void |
clean(Connection c)
Deprecated.
|
Task |
cleanAsync(Connection c)
Deprecated.
|
void |
cleanOnHost(Connection c,
Host host)
Deprecated.
|
Task |
cleanOnHostAsync(Connection c,
Host host)
Deprecated.
|
void |
destroy(Connection c)
Deprecated.
|
Task |
destroyAsync(Connection c)
Deprecated.
|
boolean |
equals(java.lang.Object obj)
If obj is a PoolPatch, compares XenAPI references for equality.
|
java.util.Set<Types.AfterApplyGuidance> |
getAfterApplyGuidance(Connection c)
Get the after_apply_guidance field of the given pool_patch.
|
static java.util.Set<PoolPatch> |
getAll(Connection c)
Deprecated.
|
static java.util.Map<PoolPatch,PoolPatch.Record> |
getAllRecords(Connection c)
Return a map of pool_patch references to pool_patch records for all pool_patchs known to the system.
|
static java.util.Set<PoolPatch> |
getByNameLabel(Connection c,
java.lang.String label)
Deprecated.
|
static PoolPatch |
getByUuid(Connection c,
java.lang.String uuid)
Deprecated.
|
java.util.Set<HostPatch> |
getHostPatches(Connection c)
Get the host_patches field of the given pool_patch.
|
java.lang.String |
getNameDescription(Connection c)
Get the name/description field of the given pool_patch.
|
java.lang.String |
getNameLabel(Connection c)
Get the name/label field of the given pool_patch.
|
java.util.Map<java.lang.String,java.lang.String> |
getOtherConfig(Connection c)
Get the other_config field of the given pool_patch.
|
java.lang.Boolean |
getPoolApplied(Connection c)
Get the pool_applied field of the given pool_patch.
|
PoolUpdate |
getPoolUpdate(Connection c)
Get the pool_update field of the given pool_patch.
|
PoolPatch.Record |
getRecord(Connection c)
Deprecated.
|
java.lang.Long |
getSize(Connection c)
Get the size field of the given pool_patch.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given pool_patch.
|
java.lang.String |
getVersion(Connection c)
Get the version field of the given pool_patch.
|
int |
hashCode() |
void |
poolApply(Connection c)
Deprecated.
|
Task |
poolApplyAsync(Connection c)
Deprecated.
|
void |
poolClean(Connection c)
Deprecated.
|
Task |
poolCleanAsync(Connection c)
Deprecated.
|
java.lang.String |
precheck(Connection c,
Host host)
Deprecated.
|
Task |
precheckAsync(Connection c,
Host host)
Deprecated.
|
void |
removeFromOtherConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the other_config field of the given pool_patch.
|
void |
setOtherConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> otherConfig)
Set the other_config field of the given pool_patch.
|
java.lang.String |
toWireString() |
isNull
protected final java.lang.String ref
public java.lang.String toWireString()
toWireString
in class XenAPIObject
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
@Deprecated public PoolPatch.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public static PoolPatch getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid
- UUID of object to returnTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public static java.util.Set<PoolPatch> getByNameLabel(Connection c, java.lang.String label) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
label
- label of object to returnTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getNameLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getNameDescription(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getVersion(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getSize(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getPoolApplied(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<HostPatch> getHostPatches(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<Types.AfterApplyGuidance> getAfterApplyGuidance(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public PoolUpdate getPoolUpdate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
otherConfig
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to addTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to removeTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public Task applyAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host to apply the patch tooTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public java.lang.String apply(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host to apply the patch tooTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public Task poolApplyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public void poolApply(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public Task precheckAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host to run the prechecks onTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public java.lang.String precheck(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host to run the prechecks onTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public Task cleanAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public void clean(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public Task poolCleanAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public void poolClean(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public Task destroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public void destroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public Task cleanOnHostAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host on which to clean the patchTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public void cleanOnHost(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host
- The host on which to clean the patchTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
@Deprecated public static java.util.Set<PoolPatch> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Map<PoolPatch,PoolPatch.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException