1 package com.atlassian.johnson.setup;
2
3 /**
4 * A default, empty implementation of {@link SetupConfig} which always indicates the application is setup.
5 *
6 * @since 2.0
7 */
8 public class DefaultSetupConfig implements SetupConfig
9 {
10 /**
11 * Always {@code true}.
12 *
13 * @return {@code true}
14 */
15 @Override
16 public boolean isSetup()
17 {
18 return true;
19 }
20
21 /**
22 * Always {@code false}.
23 *
24 * @param uri the URI of a web page
25 * @return {@code false}
26 */
27 @Override
28 public boolean isSetupPage(String uri)
29 {
30 return false;
31 }
32 }