public class QueryAbstractionHandler<T extends Resolver> extends java.lang.Object implements AbstractionHandler<T>, ConfigurationCreatableItem
Constructor and Description |
---|
QueryAbstractionHandler(java.lang.Class<T> resolverClass,
Configuration config) |
QueryAbstractionHandler(java.lang.Class<T> resolverClass,
java.lang.String query,
java.lang.String quantifier,
java.lang.String comparison,
int atLeastCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
createdFromConfiguration()
Indicates whether this object was created from a configuration object.
|
java.lang.String |
describe(Language language)
Describe what this AbstractionHandler instance does, given the language to get translated strings from.
|
java.util.List<Abstractable<T>> |
getValuesToAbstract(Resolver root)
Gets the values to be abstract, based upon the given root resolver which may be used.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCreatedFromConfiguration
public QueryAbstractionHandler(java.lang.Class<T> resolverClass, java.lang.String query, java.lang.String quantifier, java.lang.String comparison, int atLeastCount)
public QueryAbstractionHandler(java.lang.Class<T> resolverClass, Configuration config)
public java.util.List<Abstractable<T>> getValuesToAbstract(Resolver root)
AbstractionHandler
getValuesToAbstract
in interface AbstractionHandler<T extends Resolver>
root
- The root resolver to find the values to abstract based upon.Abstracting
instance of the same generic type T.public java.lang.String describe(Language language)
AbstractionHandler
describe
in interface AbstractionHandler<T extends Resolver>
language
- The language to get translated strings from.public boolean createdFromConfiguration()
ConfigurationCreatableItem
createdFromConfiguration
in interface ConfigurationCreatableItem