com.cloudcontrolled.api.model
Class Addon

java.lang.Object
  extended by com.cloudcontrolled.api.model.AbstractModel
      extended by com.cloudcontrolled.api.model.Addon

public class Addon
extends AbstractModel

The addon object contains the settings how to access the concerning addon and its configurable options.

Example

If you add a datasource the settings map contains at least your credentials and the unified resource locator of the concerning addon.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
Addon()
           Constructor for Addon.
 
Method Summary
 AddonOption getAddonOption()
           getAddonOption.
 HashMap<String,String> getSettings()
           Getter for the field settings.
 void setAddonOption(AddonOption addon_option)
           setAddonOption.
 void setSettings(HashMap<String,String> settings)
           Setter for the field settings.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Addon

public Addon()

Constructor for Addon.

Method Detail

getSettings

public HashMap<String,String> getSettings()

Getter for the field settings.

Returns:
settings the settings map which contains all you need to use the addon.

setSettings

public void setSettings(HashMap<String,String> settings)

Setter for the field settings.

Parameters:
settings - the settings to set

getAddonOption

public AddonOption getAddonOption()

getAddonOption.

Returns:
addonOption the addon options of the concerning add-on

setAddonOption

public void setAddonOption(AddonOption addon_option)

setAddonOption.

Parameters:
addon_option - the addon options to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.