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 * The set of all of the plugins that have been marked as required by the host application.
14 *
15 * @return The set of plugins required by the host application, or the empty set.
16 */
17 Set<String> getRequiredPluginKeys();
18
19 /**
20 * The set of all of the plugin modules that have been marked as required by the host application.
21 *
22 * @return The set of plugin modules required by the host application, or the empty set.
23 */
24 Set<String> getRequiredModuleKeys();
25 }