public class MongoDBChecker extends Object implements BackingChecker
Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_NAME |
Constructor and Description |
---|
MongoDBChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(ConfigurationGenerator cg)
Test if the check has to be done for the given configuration.
|
void |
check(ConfigurationGenerator cg)
Test the availbilty of the backing service.
|
public static final String TEMPLATE_NAME
public MongoDBChecker()
public boolean accepts(ConfigurationGenerator cg)
BackingChecker
accepts
in interface BackingChecker
cg
- The current configurationBackingChecker.check(ConfigurationGenerator)
has to be called.public void check(ConfigurationGenerator cg) throws ConfigurationException
BackingChecker
check
in interface BackingChecker
cg
- The current configurationConfigurationException
- if backing service is not available.Copyright © 2017 Nuxeo. All rights reserved.