Class DraasPluginManager


  • public class DraasPluginManager
    extends Object
    • Constructor Detail

      • DraasPluginManager

        public DraasPluginManager​(Set<String> otherPluginTypes)
    • Method Detail

      • createInstance

        public static void createInstance​(Set<String> otherPluginTypes)
        Parameters:
        otherPluginTypes - , types used in other plugins. Like:
        • PluginManager#getSupportedTypes()
        • DevicePluginManager#getSupportedTypes()
      • getSupportedTypes

        public Set<String> getSupportedTypes()
      • getInterface

        public <T extends com.abiquo.commons.plugin.Pluggable> Optional<T> getInterface​(String type,
                                                                                        Class<T> clazz)
      • createConnection

        public <T extends com.abiquo.commons.plugin.Pluggable> com.abiquo.commons.plugin.IConnection createConnection​(String type,
                                                                                                                      Class<T> clazz)
                                                                                                               throws com.abiquo.commons.plugin.exception.ComputeException
        Throws:
        com.abiquo.commons.plugin.exception.ComputeException
      • getConstraintValue

        public String getConstraintValue​(String type,
                                         com.abiquo.commons.model.enumerator.ConstraintKey constraintKey)
      • isLoaded

        public boolean isLoaded​(String draasType)
      • getConstraints

        public Map<com.abiquo.commons.model.enumerator.ConstraintKey,​String> getConstraints​(String type)
      • resetWhiteList

        public void resetWhiteList()