| org.griphyn.vdl.router.Arbiter
All known Subclasses: org.griphyn.vdl.router.PreferNamespace,
Arbiter | public interface Arbiter (Code) | | This interface defines an arbitration. If multiple derivations
produce the same output file, one derivation must be chosen over
all others. There is not yet any mean to declare that none will
do.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision $ |
arbit | public Derivation arbit(java.util.Collection dvlist, java.util.Map environment)(Code) | | The lone method of the arbitrarion receives some environmental
information about the position in the call stack. Currently,
this information is of limited nature. Furthermore, it receives
the list of candidates. From this list, one candidate must be
chosen, and returned to as the chosen one.
The environmental description currently contains the following entries:
key | type | meaning |
lfn | String | Output filename produced by all. |
cwns | String | Current working namespace,
may be null. |
level | Integer | Current recursion depth. |
Parameters: dvlist - is a set of candidates Parameters: environment - is a map describing the environment. the chosen candidate from the input set |
|
|