public interface IlrSSPResourceAllocationPolicyManager
getResourcesAllocationPolicy(IlrScenarioSuiteDescriptor, IlrSSPResourcesDescriptor)
is called by the SSP prior to starting a scenario suite execution. The SSP then uses the resource allocation policy returned by the method to allocate
resources for the execution of the scenario suite. If the method throws an IlrRejectedScenarioSuiteExecutionException
instead of returning a result, the SSP stops the execution and returns the exception to the
caller. Implementations of this class must define a constructor with no argument.IlrSSPResourceAllocationPolicy| Modifier and Type | Method and Description |
|---|---|
IlrSSPResourceAllocationPolicy |
getResourceAllocationPolicy(IlrScenarioSuiteDescriptor theScenarioSuiteDescriptor,
IlrSSPResourceDescriptor theSSPResourcesDescriptor)
Defines the SSP resource allocation policy for a scenario suite execution.
|
IlrSSPResourceAllocationPolicy getResourceAllocationPolicy(IlrScenarioSuiteDescriptor theScenarioSuiteDescriptor, IlrSSPResourceDescriptor theSSPResourcesDescriptor) throws IlrRejectedScenarioSuiteExecutionException
IlrRejectedScenarioSuiteExecutionException - if the execution of the scenario suite
is stopped by the SSP.theScenarioSuiteDescriptor - The descriptor for the scenario suite for which
the execution policy needs to be defined.theSSPResourcesDescriptor - The descriptor for the SSP resources.© Copyright IBM Corp. 1987, 2017