1 package com.atlassian.config.setup;
2
3 import java.util.List;
4
5 public interface SetupPersister
6 {
7
8
9
10 String SETUP_TYPE_INITIAL = "initial";
11 String SETUP_TYPE_INSTALL = "install";
12 String SETUP_TYPE_CUSTOM = "custom";
13
14
15
16 String SETUP_INSTALL_DEMO_DATA = "demo";
17
18
19
20 String SETUP_STATE_COMPLETE = "complete";
21
22 List getUncompletedSteps();
23
24 List getCompletedSteps();
25
26
27
28
29 String getSetupType();
30
31 void setSetupType(String setupType);
32
33
34
35
36
37 void finishSetup() throws SetupException;
38
39 void progessSetupStep();
40
41 String getCurrentStep();
42
43 boolean isDemonstrationContentInstalled();
44
45 void setDemonstrationContentInstalled();
46 }