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
WeaveInterest s. |
Set<Class<?>> |
getSupertypes()
Get registered
Class es 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
- Class
es to addthis
, fluentlypublic Iterable<WeaveInterest> getInterests()
WeaveInterest
s.Iterable
public Set<Class<?>> getSupertypes()
Class
es whose subtypes will be returned.Set
public boolean isConstrained()
ScanRequest
has been constrained. An unconstrained ScanRequest
will return all
known types.boolean
Copyright © 2018 The Apache Software Foundation. All rights reserved.