org.apache.avalon.composition.data
Class DependencyDirective

java.lang.Object
  extended byorg.apache.avalon.composition.data.DependencyDirective
All Implemented Interfaces:
Serializable

public final class DependencyDirective
extends Object
implements Serializable

A DependencyDirective contains information describing how a dependency should be resolved.

Version:
CVS $Revision: 1.1.1.1 $ $Date: 2003/09/24 09:31:05 $
Author:
Stephen McConnell
See Also:
Serialized Form

Constructor Summary
DependencyDirective(String key, SelectionDirective[] features)
          Creation of a new dependency directive.
DependencyDirective(String key, String source)
          Creation of a new dependency directive.
 
Method Summary
 String getKey()
          Return the dependency key.
 SelectionDirective[] getSelectionDirectives()
          Return the set of selection directive constraints.
 String getSource()
          Return the dependency source path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyDirective

public DependencyDirective(String key,
                           String source)
Creation of a new dependency directive.

Parameters:
key - the dependency key
source - path to the source provider component

DependencyDirective

public DependencyDirective(String key,
                           SelectionDirective[] features)
Creation of a new dependency directive.

Parameters:
key - the dependency key
features - the set of selection directives
Method Detail

getKey

public String getKey()
Return the dependency key.

Returns:
the key

getSource

public String getSource()
Return the dependency source path.

Returns:
the path

getSelectionDirectives

public SelectionDirective[] getSelectionDirectives()
Return the set of selection directive constraints.

Returns:
the selection directive set


Copyright © Apache Software Foundation. All Rights Reserved.