Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   
   /*
    *  Copyright (C) 2010-2011 Oracle Corporation
    *
    *  This file is part of the VirtualBox SDK, as available from
    *  http://www.virtualbox.org.  This library is free software; you can
    *  redistribute it and/or modify it under the terms of the GNU Lesser General
    *  Public License as published by the Free Software Foundation, in version 2.1
    *  as it comes in the "COPYING.LIB" file of the VirtualBox SDK distribution.
   *  This library is distributed in the hope that it will be useful, but WITHOUT
   *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
   *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
   *  License for more details.
   *
   * ISystemProperties.java
   *
   * DO NOT EDIT! This is a generated file.
   * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
   * Generator: src/VBox/Main/glue/glue-java.xsl
   */
  
  package org.virtualbox_4_2;
  
  import javax.xml.ws.*;
  import java.util.List;

The ISystemProperties interface represents global properties of the given VirtualBox installation. These properties define limits and default values for various attributes and parameters. Most of the properties are read-only, but some can be changed by a user. Interface ID: {1D7ACA29-97F0-4287-9874-A60EC4F80EA6}
  
  public class ISystemProperties extends IUnknown {
  
      public ISystemProperties(String wrappedVboxPortType port) {
            super(wrappedport);
      }
Minimum guest system memory in Megabytes.

Returns:
Long
  
      public Long getMinGuestRAM() {
        try {
           Long retVal = .iSystemPropertiesGetMinGuestRAM();
           return retVal;
       } catch (InvalidObjectFaultMsg e) {
            throw new VBoxException(ee.getMessage());
       } catch (RuntimeFaultMsg e) {
            throw new VBoxException(ee.getMessage());
       }
      }
Maximum guest system memory in Megabytes.

Returns:
Long
  
      public Long getMaxGuestRAM() {
        try {
           Long retVal = .iSystemPropertiesGetMaxGuestRAM();
           return retVal;
       } catch (InvalidObjectFaultMsg e) {
            throw new VBoxException(ee.getMessage());
       } catch (RuntimeFaultMsg e) {
            throw new VBoxException(ee.getMessage());
       }
      }
Minimum guest video memory in Megabytes.

Returns:
Long
  
      public Long getMinGuestVRAM() {
        try {
           Long retVal = .iSystemPropertiesGetMinGuestVRAM();
           return retVal;
       } catch (InvalidObjectFaultMsg e) {
            throw new VBoxException(ee.getMessage());
       } catch (RuntimeFaultMsg e) {
            throw new VBoxException(ee.getMessage());
       }
      }
Maximum guest video memory in Megabytes.

Returns:
Long
  
      public Long getMaxGuestVRAM() {
        try {
           Long retVal = .iSystemPropertiesGetMaxGuestVRAM();
           return retVal;
       } catch (InvalidObjectFaultMsg e) {
            throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Minimum CPU count.

Returns:
Long
 
     public Long getMinGuestCPUCount() {
       try {
          Long retVal = .iSystemPropertiesGetMinGuestCPUCount();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Maximum CPU count.

Returns:
Long
 
     public Long getMaxGuestCPUCount() {
       try {
          Long retVal = .iSystemPropertiesGetMaxGuestCPUCount();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Maximum of monitors which could be connected.

Returns:
Long
 
     public Long getMaxGuestMonitors() {
       try {
          Long retVal = .iSystemPropertiesGetMaxGuestMonitors();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Maximum size of a virtual disk image in bytes. Informational value, does not reflect the limits of any virtual disk image format.

Returns:
Long
 
     public Long getInfoVDSize() {
       try {
          Long retVal = .iSystemPropertiesGetInfoVDSize();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Maximum number of serial ports associated with every IMachine instance.

Returns:
Long
 
     public Long getSerialPortCount() {
       try {
          Long retVal = .iSystemPropertiesGetSerialPortCount();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Maximum number of parallel ports associated with every IMachine instance.

Returns:
Long
 
     public Long getParallelPortCount() {
       try {
          Long retVal = .iSystemPropertiesGetParallelPortCount();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Maximum device position in the boot order. This value corresponds to the total number of devices a machine can boot from, to make it possible to include all possible devices to the boot list.

 
     public Long getMaxBootPosition() {
       try {
          Long retVal = .iSystemPropertiesGetMaxBootPosition();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Full path to the default directory used to create new or open existing machines when a machine settings file name contains no path. Starting with VirtualBox 4.0, by default, this attribute contains the full path of folder named "VirtualBox VMs" in the user's home directory, which depends on the host platform. When setting this attribute, a full path must be specified. Setting this property to null or an empty string or the special value "Machines" (for compatibility reasons) will restore that default value. If the folder specified herein does not exist, it will be created automatically as needed.

 
     public String getDefaultMachineFolder() {
       try {
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Full path to the default directory used to create new or open existing machines when a machine settings file name contains no path. Starting with VirtualBox 4.0, by default, this attribute contains the full path of folder named "VirtualBox VMs" in the user's home directory, which depends on the host platform. When setting this attribute, a full path must be specified. Setting this property to null or an empty string or the special value "Machines" (for compatibility reasons) will restore that default value. If the folder specified herein does not exist, it will be created automatically as needed.

 
     public void setDefaultMachineFolder(String value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
List of all medium storage formats supported by this VirtualBox installation. Keep in mind that the medium format identifier (IMediumFormat.getId()) used in other API calls like IVirtualBox.createHardDisk(java.lang.String,java.lang.String) to refer to a particular medium format is a case-insensitive string. This means that, for example, all of the following strings:
"VDI"
"vdi"
"VdI"
refer to the same medium format. Note that the virtual medium framework is backend-based, therefore the list of supported formats depends on what backends are currently installed.

Returns:
List<org.virtualbox_4_2.IMediumFormat>
See also:
IMediumFormat
 
       try {
          List<StringretVal = .iSystemPropertiesGetMediumFormats();
          return Helper.wrap(org.virtualbox_4_2.IMediumFormat.classretVal);
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Identifier of the default medium format used by VirtualBox. The medium format set by this attribute is used by VirtualBox when the medium format was not specified explicitly. One example is IVirtualBox.createHardDisk(java.lang.String,java.lang.String) with the empty format argument. A more complex example is implicit creation of differencing media when taking a snapshot of a virtual machine: this operation will try to use a format of the parent medium first and if this format does not support differencing media the default format specified by this argument will be used. The list of supported medium formats may be obtained by the getMediumFormats() call. Note that the default medium format must have a capability to create differencing media; otherwise operations that create media implicitly may fail unexpectedly. The initial value of this property is "VDI" in the current version of the VirtualBox product, but may change in the future. NOTE: Setting this property to null or empty string will restore the initial value.

 
     public String getDefaultHardDiskFormat() {
       try {
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Identifier of the default medium format used by VirtualBox. The medium format set by this attribute is used by VirtualBox when the medium format was not specified explicitly. One example is IVirtualBox.createHardDisk(java.lang.String,java.lang.String) with the empty format argument. A more complex example is implicit creation of differencing media when taking a snapshot of a virtual machine: this operation will try to use a format of the parent medium first and if this format does not support differencing media the default format specified by this argument will be used. The list of supported medium formats may be obtained by the getMediumFormats() call. Note that the default medium format must have a capability to create differencing media; otherwise operations that create media implicitly may fail unexpectedly. The initial value of this property is "VDI" in the current version of the VirtualBox product, but may change in the future. NOTE: Setting this property to null or empty string will restore the initial value.

 
     public void setDefaultHardDiskFormat(String value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Issue a warning if the free disk space is below (or in some disk intensive operation is expected to go below) the given size in bytes.

Returns:
Long
 
     public Long getFreeDiskSpaceWarning() {
       try {
          Long retVal = .iSystemPropertiesGetFreeDiskSpaceWarning();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Issue a warning if the free disk space is below (or in some disk intensive operation is expected to go below) the given size in bytes.

Parameters:
value Long
 
     public void setFreeDiskSpaceWarning(Long value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Issue a warning if the free disk space is below (or in some disk intensive operation is expected to go below) the given percentage.

Returns:
Long
 
     public Long getFreeDiskSpacePercentWarning() {
       try {
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Issue a warning if the free disk space is below (or in some disk intensive operation is expected to go below) the given percentage.

Parameters:
value Long
 
     public void setFreeDiskSpacePercentWarning(Long value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Issue an error if the free disk space is below (or in some disk intensive operation is expected to go below) the given size in bytes.

Returns:
Long
 
     public Long getFreeDiskSpaceError() {
       try {
          Long retVal = .iSystemPropertiesGetFreeDiskSpaceError();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Issue an error if the free disk space is below (or in some disk intensive operation is expected to go below) the given size in bytes.

Parameters:
value Long
 
     public void setFreeDiskSpaceError(Long value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Issue an error if the free disk space is below (or in some disk intensive operation is expected to go below) the given percentage.

Returns:
Long
 
     public Long getFreeDiskSpacePercentError() {
       try {
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Issue an error if the free disk space is below (or in some disk intensive operation is expected to go below) the given percentage.

Parameters:
value Long
 
     public void setFreeDiskSpacePercentError(Long value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Library that provides authentication for Remote Desktop clients. The library is used if a virtual machine's authentication type is set to "external" in the VM RemoteDisplay configuration. The system library extension (".DLL" or ".so") must be omitted. A full path can be specified; if not, then the library must reside on the system's default library path. The default value of this property is "VBoxAuth". There is a library of that name in one of the default VirtualBox library directories. For details about VirtualBox authentication libraries and how to implement them, please refer to the VirtualBox manual. NOTE: Setting this property to null or empty string will restore the initial value.

Returns:
String
 
     public String getVRDEAuthLibrary() {
       try {
          String retVal = .iSystemPropertiesGetVRDEAuthLibrary();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Library that provides authentication for Remote Desktop clients. The library is used if a virtual machine's authentication type is set to "external" in the VM RemoteDisplay configuration. The system library extension (".DLL" or ".so") must be omitted. A full path can be specified; if not, then the library must reside on the system's default library path. The default value of this property is "VBoxAuth". There is a library of that name in one of the default VirtualBox library directories. For details about VirtualBox authentication libraries and how to implement them, please refer to the VirtualBox manual. NOTE: Setting this property to null or empty string will restore the initial value.

Parameters:
value String
 
     public void setVRDEAuthLibrary(String value) {
       try {
         .iSystemPropertiesSetVRDEAuthLibrary(value);
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Library that provides authentication for webservice clients. The library is used if a virtual machine's authentication type is set to "external" in the VM RemoteDisplay configuration and will be called from within the org.virtualbox_4_2.IWebsessionManager#logon(String , String ) implementation. As opposed to getVRDEAuthLibrary(), there is no per-VM setting for this, as the webservice is a global resource (if it is running). Only for this setting (for the webservice), setting this value to a literal "null" string disables authentication, meaning that org.virtualbox_4_2.IWebsessionManager#logon(String , String ) will always succeed, no matter what user name and password are supplied. The initial value of this property is "VBoxAuth", meaning that the webservice will use the same authentication library that is used by default for VRDE (again, see getVRDEAuthLibrary()). The format and calling convention of authentication libraries is the same for the webservice as it is for VRDE. NOTE: Setting this property to null or empty string will restore the initial value.

Returns:
String
 
     public String getWebServiceAuthLibrary() {
       try {
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Library that provides authentication for webservice clients. The library is used if a virtual machine's authentication type is set to "external" in the VM RemoteDisplay configuration and will be called from within the org.virtualbox_4_2.IWebsessionManager#logon(String , String ) implementation. As opposed to getVRDEAuthLibrary(), there is no per-VM setting for this, as the webservice is a global resource (if it is running). Only for this setting (for the webservice), setting this value to a literal "null" string disables authentication, meaning that org.virtualbox_4_2.IWebsessionManager#logon(String , String ) will always succeed, no matter what user name and password are supplied. The initial value of this property is "VBoxAuth", meaning that the webservice will use the same authentication library that is used by default for VRDE (again, see getVRDEAuthLibrary()). The format and calling convention of authentication libraries is the same for the webservice as it is for VRDE. NOTE: Setting this property to null or empty string will restore the initial value.

Parameters:
value String
 
     public void setWebServiceAuthLibrary(String value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
The name of the extension pack providing the default VRDE. This attribute is for choosing between multiple extension packs providing VRDE. If only one is installed, it will automatically be the default one. The attribute value can be empty if no VRDE extension pack is installed. For details about VirtualBox Remote Desktop Extension and how to implement one, please refer to the VirtualBox SDK.

Returns:
String
 
     public String getDefaultVRDEExtPack() {
       try {
          String retVal = .iSystemPropertiesGetDefaultVRDEExtPack();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
The name of the extension pack providing the default VRDE. This attribute is for choosing between multiple extension packs providing VRDE. If only one is installed, it will automatically be the default one. The attribute value can be empty if no VRDE extension pack is installed. For details about VirtualBox Remote Desktop Extension and how to implement one, please refer to the VirtualBox SDK.

Parameters:
value String
 
     public void setDefaultVRDEExtPack(String value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
This value specifies how many old release log files are kept.

Returns:
Long
 
     public Long getLogHistoryCount() {
       try {
          Long retVal = .iSystemPropertiesGetLogHistoryCount();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
This value specifies how many old release log files are kept.

Parameters:
value Long
 
     public void setLogHistoryCount(Long value) {
       try {
         .iSystemPropertiesSetLogHistoryCount(value);
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
This value hold the default audio driver for the current system.

Returns:
org.virtualbox_4_2.AudioDriverType
 
       try {
          return org.virtualbox_4_2.AudioDriverType.fromValue(retVal.value());
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
The path to the autostart database. Depending on the host this might be a filesystem path or something else.

Returns:
String
 
     public String getAutostartDatabasePath() {
       try {
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
The path to the autostart database. Depending on the host this might be a filesystem path or something else.

Parameters:
value String
 
     public void setAutostartDatabasePath(String value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
The path to the default Guest Additions ISO image. Can be empty if the location is not known in this installation.

Returns:
String
 
     public String getDefaultAdditionsISO() {
       try {
          String retVal = .iSystemPropertiesGetDefaultAdditionsISO();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
The path to the default Guest Additions ISO image. Can be empty if the location is not known in this installation.

Parameters:
value String
 
     public void setDefaultAdditionsISO(String value) {
       try {
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
     public static ISystemProperties queryInterface(IUnknown obj) {
        return obj == null ?  null : new ISystemProperties(obj.getWrapped(), obj.getRemoteWSPort());
     }
Maximum total number of network adapters associated with every IMachine instance.

Parameters:
chipset The chipset type to get the value for.
Returns:
The maximum total number of network adapters allowed.
 
       try {
         Long     retVal;
         retVal = .iSystemPropertiesGetMaxNetworkAdapters(, org.virtualbox_4_2.jaxws.ChipsetType.fromValue(chipset.name()));
         return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Maximum number of network adapters of a given attachment type, associated with every IMachine instance.

Parameters:
chipset The chipset type to get the value for.
type Type of attachment.
Returns:
The maximum number of network adapters allowed for particular chipset and attachment type.
 
       try {
         Long     retVal;
         retVal = .iSystemPropertiesGetMaxNetworkAdaptersOfType(, org.virtualbox_4_2.jaxws.ChipsetType.fromValue(chipset.name()), org.virtualbox_4_2.jaxws.NetworkAttachmentType.fromValue(type.name()));
         return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Returns the maximum number of devices which can be attached to a port for the given storage bus.

Parameters:
bus The storage bus type to get the value for.
Returns:
The maximum number of devices which can be attached to the port for the given storage bus.
 
       try {
         Long     retVal;
         retVal = .iSystemPropertiesGetMaxDevicesPerPortForStorageBus(, org.virtualbox_4_2.jaxws.StorageBus.fromValue(bus.name()));
         return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Returns the minimum number of ports the given storage bus supports.

Parameters:
bus The storage bus type to get the value for.
Returns:
The minimum number of ports for the given storage bus.
 
       try {
         Long     retVal;
         retVal = .iSystemPropertiesGetMinPortCountForStorageBus(, org.virtualbox_4_2.jaxws.StorageBus.fromValue(bus.name()));
         return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Returns the maximum number of ports the given storage bus supports.

Parameters:
bus The storage bus type to get the value for.
Returns:
The maximum number of ports for the given storage bus.
 
       try {
         Long     retVal;
         retVal = .iSystemPropertiesGetMaxPortCountForStorageBus(, org.virtualbox_4_2.jaxws.StorageBus.fromValue(bus.name()));
         return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Returns the maximum number of storage bus instances which can be configured for each VM. This corresponds to the number of storage controllers one can have. Value may depend on chipset type used.

Parameters:
chipset The chipset type to get the value for.
bus The storage bus type to get the value for.
Returns:
The maximum number of instances for the given storage bus.
 
       try {
         Long     retVal;
         retVal = .iSystemPropertiesGetMaxInstancesOfStorageBus(, org.virtualbox_4_2.jaxws.ChipsetType.fromValue(chipset.name()), org.virtualbox_4_2.jaxws.StorageBus.fromValue(bus.name()));
         return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Returns list of all the supported device types (DeviceType) for the given type of storage bus.

Parameters:
bus The storage bus type to get the value for.
Returns:
The list of all supported device types for the given storage bus.
 
       try {
         List<org.virtualbox_4_2.jaxws.DeviceType>     retVal;
         retVal = .iSystemPropertiesGetDeviceTypesForStorageBus(, org.virtualbox_4_2.jaxws.StorageBus.fromValue(bus.name()));
        return Helper.convertEnums(org.virtualbox_4_2.jaxws.DeviceType.classorg.virtualbox_4_2.DeviceType.classretVal);
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Returns the default I/O cache setting for the given storage controller

Parameters:
controllerType The storage controller to the setting for.
Returns:
Returned flag indicating the default value
      try {
        Boolean     retVal;
        retVal = .iSystemPropertiesGetDefaultIoCacheSettingForStorageController(, org.virtualbox_4_2.jaxws.StorageControllerType.fromValue(controllerType.name()));
        return retVal;
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
New to GrepCode? Check out our FAQ X