public class ConsistencyCheckImpl extends Object implements ConsistencyChecker
At the moment it just looks to check that certain Listeners are loaded, but in the future it can check the consistency of data etc.
Constructor and Description |
---|
ConsistencyCheckImpl(JohnsonProvider johnsonProvider) |
Modifier and Type | Method and Description |
---|---|
void |
checkConsistency(javax.servlet.ServletContext context) |
void |
checkDataConsistency(javax.servlet.ServletContext context) |
void |
destroy(javax.servlet.ServletContext context) |
protected Collection<JiraServiceContainer> |
getServices()
Gets all the currently registered services with JIRA.
|
void |
initialise(javax.servlet.ServletContext servletContext) |
public ConsistencyCheckImpl(JohnsonProvider johnsonProvider)
public void destroy(javax.servlet.ServletContext context)
destroy
in interface ConsistencyChecker
protected Collection<JiraServiceContainer> getServices()
JiraServiceContainer
ServiceManager.getServices()
public void initialise(javax.servlet.ServletContext servletContext)
initialise
in interface ConsistencyChecker
public void checkConsistency(javax.servlet.ServletContext context)
public void checkDataConsistency(javax.servlet.ServletContext context) throws Exception
checkDataConsistency
in interface ConsistencyChecker
Exception
Copyright © 2002-2017 Atlassian. All Rights Reserved.