public class TestToolRepository extends AbstractTestDataToolProvider
| Constructor and Description |
|---|
TestToolRepository(ClassLoader classLoader)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
DataModelSinkFactory |
getDataModelSinkFactory(URI uri)
Returns a
DataModelSinkFactory for the URI. |
DataModelSourceFactory |
getDataModelSourceFactory(URI uri)
Returns a
DataModelSourceFactory for the URI. |
DifferenceSinkFactory |
getDifferenceSinkFactory(URI uri)
Returns a
DifferenceSinkFactory for the URI. |
<T extends ExporterDescription> |
getExporterRetriever(T description)
Returns an
ExporterRetriever for the description. |
<T extends ImporterDescription> |
getImporterPreparator(T description)
Returns an
ImporterPreparator for the description. |
VerifyRuleFactory |
getVerifyRuleFactory(URI ruleUri,
List<? extends TestRule> extraRules)
Returns a
VerifyRuleFactory for the URI. |
<T> DataModelDefinition<T> |
toDataModelDefinition(Class<T> dataModelClass)
Converts data model class into its definition.
|
toVerifierFactory, toVerifyRuleFactory, toVerifyRuleFragmentpublic TestToolRepository(ClassLoader classLoader)
classLoader - the service class loaderIllegalArgumentException - if some parameters were nullpublic <T> DataModelDefinition<T> toDataModelDefinition(Class<T> dataModelClass) throws IOException
TestDataToolProviderT - data model typedataModelClass - target classIOException - if failed to convert classpublic <T extends ImporterDescription> ImporterPreparator<? super T> getImporterPreparator(T description)
ImporterPreparator for the description.T - description typedescription - target descriptionIllegalArgumentException - if some parameters were nullpublic <T extends ExporterDescription> ExporterRetriever<? super T> getExporterRetriever(T description)
ExporterRetriever for the description.T - description typedescription - target descriptionIllegalArgumentException - if some parameters were nullpublic DataModelSourceFactory getDataModelSourceFactory(URI uri)
TestDataToolProviderDataModelSourceFactory for the URI.uri - target URIpublic DataModelSinkFactory getDataModelSinkFactory(URI uri)
TestDataToolProviderDataModelSinkFactory for the URI.uri - target URIpublic DifferenceSinkFactory getDifferenceSinkFactory(URI uri)
TestDataToolProviderDifferenceSinkFactory for the URI.uri - target URIpublic VerifyRuleFactory getVerifyRuleFactory(URI ruleUri, List<? extends TestRule> extraRules)
TestDataToolProviderVerifyRuleFactory for the URI.ruleUri - the URI which describes verification ruleextraRules - extra rulesCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.