|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DependencyAlgorithm<T_TargetKey,T_ItemKey>
Defines an Algorithm to resolve Dependencies.
Dependencies
Method Summary | |
---|---|
boolean |
requiresDeepDependencies()
Indicates whether the algorithm requires deep dependency resolution. |
Collection<DependencyElement<T_TargetKey,T_ItemKey>> |
sort(Collection<DependencyElement<T_TargetKey,T_ItemKey>> targets)
Sorts the targets with respect to the defined direct and indirect dependencies. |
Method Detail |
---|
boolean requiresDeepDependencies()
true
if this algorithm requires deep dependency resolution,
false
otherwise.Collection<DependencyElement<T_TargetKey,T_ItemKey>> sort(Collection<DependencyElement<T_TargetKey,T_ItemKey>> targets) throws DependencyException
targets
- The declared DependencyTargets in their default order.
DependencyException
- if an error occures.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |