|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.functest.config.dashboard.DashboardConfigurationCheck
public class DashboardConfigurationCheck
Configuration check that ensures dashboard configuration is clean and consistent.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.config.ConfigurationCheck |
---|
ConfigurationCheck.Result |
Field Summary | |
---|---|
static String |
CHECKID_ABSOLUTE
Check to see if there are any gadets with absolute URLs are defined. |
static String |
CHECKID_DASHBOARDS
Check to see if there are non-system dashboards. |
static String |
CHECKID_EXTERNAL
Check to see if there are any external gadgets defined. |
static String |
CHECKID_GADGETS
Check to see if there are gadgets on the dashboards. |
Constructor Summary | |
---|---|
DashboardConfigurationCheck()
|
Method Summary | |
---|---|
ConfigurationCheck.Result |
checkConfiguration(JiraConfig config,
CheckOptions options)
Check the correctness of the passed JIRA XML. |
void |
fixConfiguration(JiraConfig config,
CheckOptions options)
Fix the passed JIRA configuration and remove any errors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CHECKID_DASHBOARDS
public static final String CHECKID_GADGETS
public static final String CHECKID_EXTERNAL
public static final String CHECKID_ABSOLUTE
Constructor Detail |
---|
public DashboardConfigurationCheck()
Method Detail |
---|
public ConfigurationCheck.Result checkConfiguration(JiraConfig config, CheckOptions options)
ConfigurationCheck
checkConfiguration
in interface ConfigurationCheck
config
- the configuration to check.options
- the context for the check. This is where errors can be reported.
public void fixConfiguration(JiraConfig config, CheckOptions options)
ConfigurationCheck
fixConfiguration
in interface ConfigurationCheck
config
- the configuration to check.options
- the context for the check. This can be used to see what checks are currently enabled for the
passed configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |