T - The source of selection.public interface IObjectSelector<T>
| Modifier and Type | Method and Description |
|---|---|
Collection<Object> |
all(AbstractPluginObject caller,
IContext context,
IResultSet result)
Performs a select all object of a given type.
|
T |
getSource(AbstractPluginObject caller,
IContext context)
The source for object selection.
|
void |
release()
Release comparison resources.
|
List<Object> |
select(AbstractPluginObject caller,
IContext context,
Object instance,
RowAdapter row,
IResultSet result)
Performs a select on object repository to compare with the reference.
|
T getSource(AbstractPluginObject caller, IContext context) throws Exception
caller - The plugin.context - The testing context.Exception - On selection errors.Collection<Object> all(AbstractPluginObject caller, IContext context, IResultSet result) throws Exception
caller - The caller plugin.context - The test context.result - The result set.Exception - On selection errors.List<Object> select(AbstractPluginObject caller, IContext context, Object instance, RowAdapter row, IResultSet result) throws Exception
caller - The caller plugin.context - The test context.instance - The object to be compared with repository version.row - The row which was the source for object creation.result - The result set.Exception - On selection errors.Copyright © 2016. All rights reserved.