View Javadoc

1   package com.atlassian.plugin.metadata;
2   
3   import java.util.Set;
4   
5   /**
6    * Provides the keys for both plugins and modules that have
7    * been marked as required by the host application.
8    *
9    * @since 2.6.6
10   */
11  public interface RequiredPluginProvider
12  {
13      /**
14       * The set of all of the plugins that have been marked as required by the host application.
15       *
16       * @return The set of plugins required by the host application, or the empty set.
17       */
18      Set<String> getRequiredPluginKeys();
19  
20      /**
21       * The set of all of the plugin modules that have been marked as required by the host application.
22       *
23       * @return The set of plugin modules required by the host application, or the empty set.
24       */
25      Set<String> getRequiredModuleKeys();
26  }