|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.virtualbox_6_0.IUnknown
org.virtualbox_6_0.ICloudClient
public class ICloudClient
| Field Summary |
|---|
| Fields inherited from class org.virtualbox_6_0.IUnknown |
|---|
obj, objMgr, port |
| Constructor Summary | |
|---|---|
ICloudClient(java.lang.String wrapped,
org.virtualbox_6_0.ObjectRefManager objMgr,
org.virtualbox_6_0.jaxws.VboxPortType port)
|
|
| Method Summary | |
|---|---|
CloudCommandResult |
checkCommandResult(java.lang.String Id,
Holder<java.lang.Long> startTime,
Holder<java.lang.Long> lastTime)
Check a cloud operation result by ID |
java.lang.String |
createCommand(CloudCommand cloudCommand,
java.lang.String condition)
Creates a cloud operation object for the passed profile if profile name is NULL or empty string creates operation for the active profile. |
void |
exportVM(IVirtualSystemDescription description,
IProgress progress,
IVirtualBox virtualBox)
Exports a VM described in description parameter |
java.util.List<java.lang.String> |
getCommandParameterNames(CloudCommand cloudCommand)
Returns the parameters names for this operation. |
java.util.List<java.lang.String> |
getCommandParameterProperties(java.lang.String parameterName,
Holder<java.lang.String> parameterType,
Holder<java.lang.String> parameterDesc)
Returns the value/s for the passed parameter. |
java.lang.String |
getCommandParameters(CloudCommand cloudCommand)
Returns the parameters with their values. |
java.util.List<CloudCommand> |
getCommandsForOperation(CloudOperation cloudOperation,
java.lang.Boolean prep)
Returns the list of commands for particular operation. |
java.lang.String |
getExportParameters()
Returns the parameters required to be shown to user for export a VM to a cloud operation. |
java.lang.String |
getOperationParameters(CloudOperation cloudOperation)
Returns the parameters with their values. |
static ICloudClient |
queryInterface(IUnknown obj)
|
CloudCommandResult |
runCommand(java.lang.String Id,
java.lang.Long timeout)
Runs a cloud operation by ID |
void |
runSeveralCommands(java.util.List<java.lang.String> commandIdList,
java.util.List<java.lang.String> parameterNames,
java.util.List<java.lang.String> parameterValues,
IProgress progress)
Runs a set of prepared cloud operations by their ids |
void |
setCommandParameters(java.lang.String Id,
java.util.List<java.lang.String> names,
java.util.List<java.lang.String> values)
Sets the parameters values for the particular command by ID. |
java.lang.Boolean |
validateCommand(java.lang.String Id)
Validates a cloud operation by ID |
| Methods inherited from class org.virtualbox_6_0.IUnknown |
|---|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ICloudClient(java.lang.String wrapped,
org.virtualbox_6_0.ObjectRefManager objMgr,
org.virtualbox_6_0.jaxws.VboxPortType port)
| Method Detail |
|---|
public static ICloudClient queryInterface(IUnknown obj)
public java.lang.String createCommand(CloudCommand cloudCommand,
java.lang.String condition)
cloudCommand - The type of the supported cloud commands.condition - The successful condition for finishing the command.
The command will be repeated if condition isn't in the needed state
public CloudCommandResult runCommand(java.lang.String Id,
java.lang.Long timeout)
Id - UUID of the operation.timeout - Timeout in seconds.
public void runSeveralCommands(java.util.List<java.lang.String> commandIdList,
java.util.List<java.lang.String> parameterNames,
java.util.List<java.lang.String> parameterValues,
IProgress progress)
commandIdList - The list of UUID of the operations.parameterNames - Initial set of parameter names.parameterValues - Initial set of parameter values.progress - Progress object to track the operation completion.public java.lang.Boolean validateCommand(java.lang.String Id)
Id - UUID of the operation.
public CloudCommandResult checkCommandResult(java.lang.String Id,
Holder<java.lang.Long> startTime,
Holder<java.lang.Long> lastTime)
Id - UUID of the operation.startTime - Start time of operation.lastTime - Time of the last result.
public java.util.List<java.lang.String> getCommandParameterNames(CloudCommand cloudCommand)
cloudCommand - The type of the supported cloud commands.
public java.util.List<java.lang.String> getCommandParameterProperties(java.lang.String parameterName,
Holder<java.lang.String> parameterType,
Holder<java.lang.String> parameterDesc)
parameterName - Parameter name.parameterType - Parameter type.parameterDesc - Parameter description.
public java.lang.String getCommandParameters(CloudCommand cloudCommand)
cloudCommand - The type of the supported cloud commands.
public void setCommandParameters(java.lang.String Id,
java.util.List<java.lang.String> names,
java.util.List<java.lang.String> values)
Id - UUID of the operation.names - Names of the parameters.values - Values of the parameters.
public java.util.List<CloudCommand> getCommandsForOperation(CloudOperation cloudOperation,
java.lang.Boolean prep)
cloudOperation - The type of the supported cloud operation.prep - Which list to return: false - general commands, true - preparatory commands
public java.lang.String getOperationParameters(CloudOperation cloudOperation)
cloudOperation - The type of the supported cloud operation.
public java.lang.String getExportParameters()
public void exportVM(IVirtualSystemDescription description,
IProgress progress,
IVirtualBox virtualBox)
description - VirtualSystemDescription object which is describing a machine and all required parameters.progress - Progress object to track the operation completion.virtualBox - Reference to the server-side API root object.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||