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 ConsistencyCheckerprotected Collection<JiraServiceContainer> getServices()
JiraServiceContainerServiceManager.getServices()public void initialise(javax.servlet.ServletContext servletContext)
initialise in interface ConsistencyCheckerpublic void checkConsistency(javax.servlet.ServletContext context)
public void checkDataConsistency(javax.servlet.ServletContext context)
throws Exception
checkDataConsistency in interface ConsistencyCheckerExceptionCopyright © 2002-2016 Atlassian. All Rights Reserved.