JTR 5.0 API Documentation

Package jtr.assigner.impl

Default implementations of the contracts defined in the jtr.assigner package.

See:
          Description

Class Summary
AbstractParamsAssigner This class is the base class for all the concrete IParamsAssigner implementations.
CyclicAssignmentPolicy This class is the default implementation of the cyclic parameters assignment policy.
It has to be used only to retrieve concrete IParamsAssigner implementations providing a cyclic parameters assignment policy.
CyclicParamsAssigner This class is a concrete IParamsAssigner implementation providing a cyclic parameters assignment policy.
This means that should a configured runner have multiple parameters-sets associated with it, this particular assigner would iterate over all the available parameters-set and assign them to the runner following the order in which they compare in the jtr.xml configuration file.
DefaultAssignmentPolicyFactory This is the default factory used for obtaining instances of IAssignmentPolicy.
Once an IAssignmentPolicy concrete instance has been obtained, the actual IParamsAssigner can be instantiated.
IndexedAssignmentPolicy This class is the default implementation of the indexed parameters assignment policy.
It has to be used only to retrieve concrete IParamsAssigner implementations providing an indexed parameters assignment policy.
IndexedParamsAssigner This class is a concrete IParamsAssigner implementation providing an indexed parameters assignment policy.
This means that should a configured runner have multiple parameters-sets associated with it, this particular assigner would provide the i-th runner instance with the i-th mod(n) parameter-set where n is the number of configured parameters-sets.br> Each assignment will be performed at the beginning of each run.
 

Package jtr.assigner.impl Description

Default implementations of the contracts defined in the jtr.assigner package.

The JTR Project comes by default with two parameters assignment strategies:
1. a cyclic assignment strategy
2. an indexed assignment strategy

Both of them inherit from the base AbstractParamsAssigner implementation. Even user-defined new assignment strategies should follow this approach.

The DefaultAssignmentPolicyFactory binds the two keywords indexed and cyclic you use in the jtr.xml file to their corresponding implementation classes.

Since:
1.0
Version:
5.0
Author:
Francesco Russo

The JTR Project is licensed under GPL version 2