1 package com.atlassian.plugins.codegen.modules.confluence.blueprint;
2
3 import java.util.HashMap;
4
5 import static com.atlassian.plugins.codegen.modules.confluence.blueprint.BlueprintPromptEntry.*;
6
7
8
9
10
11
12 public class BlueprintPromptEntries extends HashMap<BlueprintPromptEntry, Object>
13 {
14 private final String pluginKey;
15 private final String defaultBasePackage;
16
17 public BlueprintPromptEntries(String pluginKey, String defaultBasePackage)
18 {
19 this.pluginKey = pluginKey;
20 this.defaultBasePackage = defaultBasePackage;
21
22
23 put(SKIP_PAGE_EDITOR_PROMPT, false);
24 put(HOW_TO_USE_PROMPT, false);
25 put(DIALOG_WIZARD_PROMPT, false);
26 put(CONTEXT_PROVIDER_PROMPT, false);
27 put(EVENT_LISTENER_PROMPT, false);
28 put(INDEX_PAGE_TEMPLATE_PROMPT, false);
29 }
30
31 public BlueprintPromptEntries(String pluginKey)
32 {
33 this(pluginKey, pluginKey);
34 }
35
36 public String getDefaultBasePackage()
37 {
38 return defaultBasePackage;
39 }
40
41 public String getPluginKey()
42 {
43 return pluginKey;
44 }
45 }