public interface IlrScenarioFormatDescriptor
extends java.io.Serializable
IlrScenarioFormatFactory object.
An instance can be written to and loaded from a stream.
Instances of this class are created using an instance ofIlrScenarioFormatDescriptorFactory.| Modifier and Type | Interface and Description |
|---|---|
static class |
IlrScenarioFormatDescriptor.ExecutionDetails
Identifies the execution details that can be tested in a test suite.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getCalculatedKPIClassNames()
Returns the list of names for the KPI classes that are calculated when
running scenarios that uses this format.
|
IlrComparisonPrecisionDescriptor |
getComparisonPrecisionDescriptor()
Returns the precision to use when comparing expected and actual values
in tests.
|
java.util.Properties |
getProperties()
Retrieves the format properties.
|
java.lang.String |
getScenarioFormatName()
Returns the unique name for the scenario format.
|
java.lang.String |
getScenarioProviderClassName()
Returns the scenario provider class for the scenario format.
|
java.util.List<IlrScenarioFormatDescriptor.ExecutionDetails> |
getTestableExecutionDetails()
Returns the execution details that can be tested in a scenario using
this scenario format.
|
void |
load(java.io.InputStream theInputStream)
Loads the scenario format descriptor from an input stream.
|
void |
setCalculatedKPIClassNames(java.util.List<java.lang.String> theEnabledKPIClassNames)
Sets the list of names for the KPI classes that are calculated when
running scenarios that use this format.
|
void |
setComparisonPrecisionDescriptor(IlrComparisonPrecisionDescriptor theComparisonPrecisionDescriptor)
Sets the precision to use when comparing expected and actual values
in tests.
|
void |
setProperties(java.util.Properties theFormatProperties)
Sets the format properties.
|
void |
setScenarioFormatName(java.lang.String theNameOfTheScenarioFormat)
Sets the unique name for the scenario format.
|
void |
setScenarioProviderClassName(java.lang.String theScenarioProviderClassName)
Sets the name of the scenario provider class for the scenario format.
|
void |
setTestableExecutionDetails(java.util.List<IlrScenarioFormatDescriptor.ExecutionDetails> theTestableExecutionDetails)
Sets the execution details that can be tested in a scenario using
this scenario format.
|
void |
store(java.io.OutputStream theOutputStream)
Saves the scenario format descriptor to an output stream.
|
void setScenarioFormatName(java.lang.String theNameOfTheScenarioFormat)
theNameOfTheScenarioFormat - The name for the scenario format.java.lang.String getScenarioFormatName()
void setComparisonPrecisionDescriptor(IlrComparisonPrecisionDescriptor theComparisonPrecisionDescriptor)
theComparisonPrecisionDescriptor - The precision to use when
comparing expected and actual values in tests.IlrComparisonPrecisionDescriptor getComparisonPrecisionDescriptor()
void setScenarioProviderClassName(java.lang.String theScenarioProviderClassName)
theScenarioProviderClassName - The name of the scenario provider
class for the scenario format.java.lang.String getScenarioProviderClassName()
java.util.List<IlrScenarioFormatDescriptor.ExecutionDetails> getTestableExecutionDetails()
void setTestableExecutionDetails(java.util.List<IlrScenarioFormatDescriptor.ExecutionDetails> theTestableExecutionDetails)
theTestableExecutionDetails - A list containing the execution
details that can be tested in a scenario using this scenario format.java.util.List<java.lang.String> getCalculatedKPIClassNames()
void setCalculatedKPIClassNames(java.util.List<java.lang.String> theEnabledKPIClassNames)
theEnabledKPIClassNames - The list of names for the KPI classes
that are calculated when running scenarios that uses this format.
This list is sorted in calculation order, that is, the first KPI of the list is
the first calculated, and the last KPI is the last calculated.java.util.Properties getProperties()
void setProperties(java.util.Properties theFormatProperties)
theFormatProperties - The format properties.void load(java.io.InputStream theInputStream)
throws java.io.IOException,
IlrScenarioFormatDescriptorException
IlrScenarioFormatDescriptorException - if the content of
theInputStream is not a valid serialized form of the
IlrScenarioFormatDescriptor implementation.java.io.IOException - if there is a problem reading from
theInputStream.theInputStream - The input stream to load the descriptor from.void store(java.io.OutputStream theOutputStream)
throws java.io.IOException
java.io.IOException - if there is a problem writing to
theOutputStream.theOutputStream - The output stream to save the descriptor to.© Copyright IBM Corp. 1987, 2017