org.apache.commons.pipeline.validation
Annotation Type Branches


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Branches

This annotation is used to aggregate information about the branches served by a give Stage.


Optional Element Summary
 String[] producesConsumedOnBranches
          Returns the array of branch keys for which the stage produces the same type of object as it consumes.
 ProductionOnBranch[] productionOnBranches
          Returns the array of branch key/production pairs that describe the data being produced by the annotated stage on various branches.
 

productionOnBranches

public abstract ProductionOnBranch[] productionOnBranches
Returns the array of branch key/production pairs that describe the data being produced by the annotated stage on various branches.

Default:
{}

producesConsumedOnBranches

public abstract String[] producesConsumedOnBranches
Returns the array of branch keys for which the stage produces the same type of object as it consumes.

Default:
{}


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.