1 package com.atlassian.plugins.codegen.modules.confluence.blueprint;
2
3
4
5
6
7
8 public enum BlueprintPromptEntry
9 {
10 WEB_ITEM_NAME_PROMPT("Enter Blueprint name (e.g. File List, Meeting Note)", "My Blueprint"),
11 INDEX_KEY_PROMPT("Enter Index Key (e.g. file-list, meeting-note)"),
12 WEB_ITEM_DESC_PROMPT("Enter Blueprint description"),
13 CONTENT_TEMPLATE_KEYS_PROMPT("Enter Content Template key"),
14 ANOTHER_CONTENT_TEMPLATE_KEY_PROMPT("Add another Content Template key?", "N"),
15 ADVANCED_BLUEPRINT_PROMPT ("Add advanced Blueprint features?", "N"),
16 HOW_TO_USE_PROMPT("Add a How-to-Use page to your Blueprint?", "N"),
17 DIALOG_WIZARD_PROMPT("Add a Create dialog wizard to your Blueprint?", "N"),
18 CONTEXT_PROVIDER_PROMPT("Add a Context Provider to your Blueprint?", "N"),
19 SKIP_PAGE_EDITOR_PROMPT("Skip the Editor?", "N"),
20 EVENT_LISTENER_PROMPT("Add an Event Listener to your Blueprint?", "N"),
21 INDEX_PAGE_TEMPLATE_PROMPT("Add a custom Index page to your Blueprint?", "N")
22 ;
23
24 private final String message;
25 private final String defaultValue;
26
27 BlueprintPromptEntry(String message, String defaultValue)
28 {
29 this.message = message;
30 this.defaultValue = defaultValue;
31 }
32
33 BlueprintPromptEntry(String message)
34 {
35 this(message, null);
36 }
37
38 public String message()
39 {
40 return message;
41 }
42
43 public String defaultValue()
44 {
45 return defaultValue;
46 }
47 }