@FunctionalInterface public interface DifferenceSinkProvider
DifferenceSink drivers.
Adding test data sources, clients can implement this
and put the class name in
META-INF/services/com.asakusafw.testdriver.core.DifferenceSinkProvider.
| Modifier and Type | Method and Description |
|---|---|
<T> DifferenceSink |
create(DataModelDefinition<T> definition,
URI sink,
TestContext context)
Creates a
DifferenceSink object corresponding to the specified URI. |
<T> DifferenceSink create(DataModelDefinition<T> definition, URI sink, TestContext context) throws IOException
DifferenceSink object corresponding to the specified URI.
If this object does not support the URI, or
the sink does not support for the specified URI,
this method will return null.
T - type of data modeldefinition - the data model definitionsink - the target identifiercontext - the current testing contextDifferenceSink,
or null if the specified source is not valid for this objectIOException - if failed to create a DifferenceSink from the URIIllegalArgumentException - if some parameters were nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.