JTR 5.0 API Documentation

jtr.assigner
Interface IAssignmentPolicyFactory

All Superinterfaces:
IFactory
All Known Implementing Classes:
DefaultAssignmentPolicyFactory

public interface IAssignmentPolicyFactory
extends IFactory

This interface defines the contract between JTR and those concrete classes in charge of instantiating objects meant for managing the assignment of parameters to IRunners instances. Different factories can be plugged-in by means of the jtr.xml configuration file.

Since:
1.0
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)
See Also:
IAssignmentPolicy

Method Summary
 IAssignmentPolicy getInstance(java.lang.String type)
          Returns an instance of IAssignmentPolicy according to the requested type.
 

Method Detail

getInstance

IAssignmentPolicy getInstance(java.lang.String type)
                              throws UnknownAssignmentPolicyException
Returns an instance of IAssignmentPolicy according to the requested type.

Parameters:
type - The type of required IAssignmentPolicy
Returns:
IAssignmentPolicy The requested IAssignmentPolicy
Throws:
UnknownAssignmentPolicyException - The requested type is not known

The JTR Project is licensed under GPL version 2