public interface SetupConfig
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSetup()
Retrieves a flag indicating whether the application has been setup.
|
boolean |
isSetupPage(String uri)
Retrieves a flag indicating whether the provided
uri is a setup-related page. |
boolean isSetup()
true if the application has been setup; otherwise, falseboolean isSetupPage(@Nonnull String uri)
uri is a setup-related page.
Applications which require complex setup with multiple pages can implement this method to allow access to all
of their pages when isSetup() returns false.
Note: This method is related, but not identical, to
JohnsonConfig.getSetupPath(). That property
provides the URL to which a user should be redirected when the application is not setup. It defines the entry
point for setup. After the initial redirection, this method is used to determine whether a page being accessed
is part of the setup process.
uri - the URI of a web pagetrue if the URI references a setup page; otherwise, falseCopyright © 2017 Atlassian. All rights reserved.