Class RunnableExtensionLoader<T>

java.lang.Object
net.bluemind.eclipse.common.RunnableExtensionLoader<T>
Type Parameters:
T -

public class RunnableExtensionLoader<T> extends Object
Load plugins based on some interface
  • Constructor Details

    • RunnableExtensionLoader

      public RunnableExtensionLoader()
  • Method Details

    • builder

      public static RunnableExtensionLoader.Builder builder()
    • loadExtensions

      public List<T> loadExtensions(String pluginId, String pointName, String element, String attribute)
      Load plugins declaring an executable extension
      Parameters:
      pluginId -
      pointName -
      element -
      attribute -
      Returns:
    • loadExtensionsWithPriority

      public List<T> loadExtensionsWithPriority(String pluginId, String pointName, String element, String attribute)
      Load plugins declaring an executable extension biggest priority is sorted first
      Parameters:
      pluginId -
      pointName -
      element -
      attribute -
      Returns: