org.apache.avalon.composition.data
Class StageDirective

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

public final class StageDirective
extends Object
implements Serializable

A StageDirective contains information describing how a stage dependency should be resolved.

Version:
CVS $Revision: 1.1.1.1 $ $Date: 2003/08/31 14:27:04 $
Author:
Stephen McConnell
See Also:
Serialized Form

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

Constructor Detail

StageDirective

public StageDirective(String key,
                      String source)
Creation of a new stage directive that associates a stage key with a source component address.

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

StageDirective

public StageDirective(String key,
                      SelectionDirective[] features)
Creation of a new stage directive that associates a stage key with a set of selection constraints.

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

getKey

public String getKey()
Return the stage key.

Returns:
the key

getSource

public String getSource()
Return the stage 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.