com.bea.wli.config.resource
Class DependencyQuery
java.lang.Object
com.bea.wli.config.resource.BaseQuery
com.bea.wli.config.resource.DependencyQuery
- All Implemented Interfaces:
- Serializable
public class DependencyQuery
- extends BaseQuery
- implements Serializable
Class for making a query to get the Parents/Childs based
on the dependency graph established by the references from one resource
to another.
- See Also:
- Serialized Form
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
DependencyQuery
public DependencyQuery(Collection<Ref> refs,
boolean dependents)
- Parameters:
refs
- list of resources/projects/folders for which the
dependencies or dependent need to be returned as a result
of this querydependents
- if true, as a result of this query
dependents/parents are returned.
else, dependencies/Childs are returned.
getRefs
public Set<Ref> getRefs()
isDependents
public boolean isDependents()