|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.virtualbox_4_3.IUnknown
org.virtualbox_4_3.IVirtualSystemDescription
public class IVirtualSystemDescription
Represents one virtual system (machine) in an appliance. This interface is used in
the IAppliance.getVirtualSystemDescriptions()
array. After
IAppliance.interpret()
has been called, that array contains information
about how the virtual systems described in the OVF should best be imported into
VirtualBox virtual machines. See IAppliance
for the steps required to
import an OVF into VirtualBox.
Interface ID: {D7525E6C-531A-4C51-8E04-41235083A3D8}
Field Summary |
---|
Fields inherited from class org.virtualbox_4_3.IUnknown |
---|
obj, port |
Constructor Summary | |
---|---|
IVirtualSystemDescription(java.lang.String wrapped,
org.virtualbox_4_3.jaxws.VboxPortType port)
|
Method Summary | |
---|---|
void |
addDescription(VirtualSystemDescriptionType type,
java.lang.String VBoxValue,
java.lang.String extraConfigValue)
This method adds an additional description entry to the stack of already available descriptions for this virtual system. |
java.lang.Long |
getCount()
Return the number of virtual system description entries. |
void |
getDescription(Holder<java.util.List<VirtualSystemDescriptionType>> types,
Holder<java.util.List<java.lang.String>> refs,
Holder<java.util.List<java.lang.String>> OVFValues,
Holder<java.util.List<java.lang.String>> VBoxValues,
Holder<java.util.List<java.lang.String>> extraConfigValues)
Returns information about the virtual system as arrays of instruction items. |
void |
getDescriptionByType(VirtualSystemDescriptionType type,
Holder<java.util.List<VirtualSystemDescriptionType>> types,
Holder<java.util.List<java.lang.String>> refs,
Holder<java.util.List<java.lang.String>> OVFValues,
Holder<java.util.List<java.lang.String>> VBoxValues,
Holder<java.util.List<java.lang.String>> extraConfigValues)
This is the same as getDescription(Holder,Holder,Holder,Holder,Holder) except that you can specify which types
should be returned. |
java.util.List<java.lang.String> |
getValuesByType(VirtualSystemDescriptionType type,
VirtualSystemDescriptionValueType which)
This is the same as getDescriptionByType(org.virtualbox_4_3.VirtualSystemDescriptionType,Holder,Holder,Holder,Holder,Holder) except that you can specify which
value types should be returned. |
static IVirtualSystemDescription |
queryInterface(IUnknown obj)
|
void |
setFinalValues(java.util.List<java.lang.Boolean> enabled,
java.util.List<java.lang.String> VBoxValues,
java.util.List<java.lang.String> extraConfigValues)
This method allows the appliance's user to change the configuration for the virtual system descriptions. |
Methods inherited from class org.virtualbox_4_3.IUnknown |
---|
getRemoteWSPort, getWrapped, releaseRemote |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IVirtualSystemDescription(java.lang.String wrapped, org.virtualbox_4_3.jaxws.VboxPortType port)
Method Detail |
---|
public java.lang.Long getCount()
public static IVirtualSystemDescription queryInterface(IUnknown obj)
public void getDescription(Holder<java.util.List<VirtualSystemDescriptionType>> types, Holder<java.util.List<java.lang.String>> refs, Holder<java.util.List<java.lang.String>> OVFValues, Holder<java.util.List<java.lang.String>> VBoxValues, Holder<java.util.List<java.lang.String>> extraConfigValues)
VirtualSystemDescriptionType
enum value in the array item in aTypes[]. In each case,
the array item with the same index in OVFValues[] will contain the original value as contained
in the OVF file (just for informational purposes), and the corresponding item in aVBoxValues[]
will contain a suggested value to be used for VirtualBox. Depending on the description type,
the aExtraConfigValues[] array item may also be used.
IVirtualBox.getGuestOSTypes()
. The corresponding
item in OVFValues[] will contain a numerical value that described the operating system in the OVF.
IMachine
name that does not exist yet.
StorageControllerType
).
The matching item in the aRefs[] array will be used as with IDE controllers (see above).
public void getDescriptionByType(VirtualSystemDescriptionType type, Holder<java.util.List<VirtualSystemDescriptionType>> types, Holder<java.util.List<java.lang.String>> refs, Holder<java.util.List<java.lang.String>> OVFValues, Holder<java.util.List<java.lang.String>> VBoxValues, Holder<java.util.List<java.lang.String>> extraConfigValues)
getDescription(Holder,Holder,Holder,Holder,Holder)
except that you can specify which types
should be returned.
public java.util.List<java.lang.String> getValuesByType(VirtualSystemDescriptionType type, VirtualSystemDescriptionValueType which)
getDescriptionByType(org.virtualbox_4_3.VirtualSystemDescriptionType,Holder,Holder,Holder,Holder,Holder)
except that you can specify which
value types should be returned. See VirtualSystemDescriptionValueType
for possible
values.
public void setFinalValues(java.util.List<java.lang.Boolean> enabled, java.util.List<java.lang.String> VBoxValues, java.util.List<java.lang.String> extraConfigValues)
getDescription(Holder,Holder,Holder,Holder,Holder)
,
you must pass in one boolean value and one configuration value.
Each item in the boolean array determines whether the particular configuration item
should be enabled.
You can only disable items of the types HardDiskControllerIDE, HardDiskControllerSATA,
HardDiskControllerSCSI, HardDiskImage, CDROM, Floppy, NetworkAdapter, USBController
and SoundCard.
For the "vbox" and "extra configuration" values, if you pass in the same arrays
as returned in the aVBoxValues and aExtraConfigValues arrays from getDescription(Holder,Holder,Holder,Holder,Holder)
,
the configuration remains unchanged. Please see the documentation for getDescription(Holder,Holder,Holder,Holder,Holder)
for valid configuration values for the individual array item types. If the
corresponding item in the aEnabled array is false, the configuration value is ignored.
public void addDescription(VirtualSystemDescriptionType type, java.lang.String VBoxValue, java.lang.String extraConfigValue)
VirtualSystemDescriptionType
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |