org.virtualbox_7_0
Class ICloudProvider

java.lang.Object
  extended by org.virtualbox_7_0.IUnknown
      extended by org.virtualbox_7_0.ICloudProvider

public class ICloudProvider
extends IUnknown


Field Summary
 
Fields inherited from class org.virtualbox_7_0.IUnknown
obj, objMgr, port
 
Constructor Summary
ICloudProvider(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
           
 
Method Summary
 void createProfile(java.lang.String profileName, java.util.List<java.lang.String> names, java.util.List<java.lang.String> values)
          Creates a new profile.
 java.lang.String getId()
          Returns the UUID of this cloud provider.
 java.lang.String getName()
          Returns the long name of the provider.
 ICloudProfile getProfileByName(java.lang.String profileName)
           
 java.util.List<java.lang.String> getProfileNames()
          Returns all profile names for this cloud provider.
 java.util.List<ICloudProfile> getProfiles()
          Returns all profiles for this cloud provider.
 java.lang.String getPropertyDescription(java.lang.String name)
           
 java.lang.String getShortName()
          Returns the short name of the provider.
 java.util.List<java.lang.String> getSupportedPropertyNames()
          Returns the supported property names.
 void importProfiles()
          Import the profiles from the original source
 void prepareUninstall()
          The caller requests the cloud provider to cease operation.
static ICloudProvider queryInterface(IUnknown obj)
           
 void restoreProfiles()
          Restores the old local profiles if they exist
 void saveProfiles()
          Saves the local profiles
 
Methods inherited from class org.virtualbox_7_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

ICloudProvider

public ICloudProvider(java.lang.String wrapped,
                      org.virtualbox_7_0.ObjectRefManager objMgr,
                      org.virtualbox_7_0.jaxws.VboxPortType port)
Method Detail

getName

public java.lang.String getName()
Returns the long name of the provider. Includes vendor and precise product name spelled out in the preferred way.

Returns:
String

getShortName

public java.lang.String getShortName()
Returns the short name of the provider. Less than 8 ASCII chars, using acronyms. No vendor name, but can contain a hint if it's a 3rd party implementation for this cloud provider, to keep it unique.

Returns:
String

getId

public java.lang.String getId()
Returns the UUID of this cloud provider.

Returns:
String

getProfiles

public java.util.List<ICloudProfile> getProfiles()
Returns all profiles for this cloud provider.

Returns:
List<org.virtualbox_7_0.ICloudProfile>

getProfileNames

public java.util.List<java.lang.String> getProfileNames()
Returns all profile names for this cloud provider.

Returns:
List<String>

getSupportedPropertyNames

public java.util.List<java.lang.String> getSupportedPropertyNames()
Returns the supported property names.

Returns:
List<String>

queryInterface

public static ICloudProvider queryInterface(IUnknown obj)

getPropertyDescription

public java.lang.String getPropertyDescription(java.lang.String name)

createProfile

public void createProfile(java.lang.String profileName,
                          java.util.List<java.lang.String> names,
                          java.util.List<java.lang.String> values)
Creates a new profile.

Parameters:
profileName - The profile name. Must not exist, otherwise an error is raised.
names - Names of properties.
values - Values of set properties.

importProfiles

public void importProfiles()
Import the profiles from the original source


restoreProfiles

public void restoreProfiles()
Restores the old local profiles if they exist


saveProfiles

public void saveProfiles()
Saves the local profiles


getProfileByName

public ICloudProfile getProfileByName(java.lang.String profileName)

prepareUninstall

public void prepareUninstall()
The caller requests the cloud provider to cease operation. Should return an error if this is currently not possible (due to ongoing cloud activity, possibly by a different API client). However, this must not wait for the completion for a larger amount of time (ideally stays below a second of execution time). If this succeeds it should leave the cloud provider in a state which does not allow starting new operations.