public class ScanRequest extends Object
| Constructor and Description |
|---|
ScanRequest() |
| Modifier and Type | Method and Description |
|---|---|
ScanRequest |
add(WeaveInterest interest)
Register a
WeaveInterest. |
ScanRequest |
addSupertypes(Class<?>... types)
Register one or more types whose subtypes you are looking for.
|
Iterable<WeaveInterest> |
getInterests()
Get registered
WeaveInterests. |
Set<Class<?>> |
getSupertypes()
Get registered
Classes whose subtypes will be returned. |
boolean |
isConstrained()
Learn whether this
ScanRequest has been constrained. |
public ScanRequest add(WeaveInterest interest)
WeaveInterest.interest - WeaveInterest to addthis, fluentlypublic ScanRequest addSupertypes(Class<?>... types)
types - Classes to addthis, fluentlypublic Iterable<WeaveInterest> getInterests()
WeaveInterests.Iterablepublic Set<Class<?>> getSupertypes()
Classes whose subtypes will be returned.Setpublic boolean isConstrained()
ScanRequest has been constrained. An unconstrained ScanRequest will return all
known types.booleanCopyright © 2018 The Apache Software Foundation. All rights reserved.