@FunctionalInterface public interface VerifyRuleProvider
VerifyRule drivers.
Adding VerifyRule formats, clients can implement this
and put the class name in
META-INF/services/com.asakusafw.testdriver.core.VerifyRuleProvider.
| Modifier and Type | Method and Description |
|---|---|
<T> VerifyRule |
get(DataModelDefinition<T> definition,
VerifyContext context,
URI source)
Creates a
VerifyRule object from the specified source. |
<T> VerifyRule get(DataModelDefinition<T> definition, VerifyContext context, URI source) throws IOException
VerifyRule object from the specified source.
If this object does not support the URI,
this method will return null.
T - type of data modeldefinition - the data model definitioncontext - current verification contextsource - the target identifierVerifyRule,
or null if the specified source is not valid for this objectIOException - if failed to load a VerifyRule from the sourceIllegalArgumentException - if some parameters were nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.