ilog.rules.dvs.common.descriptors

Interface IlrScenarioFormatDescriptor

  • All Superinterfaces:
    java.io.Serializable


    public interface IlrScenarioFormatDescriptor
    extends java.io.Serializable
    Descriptor of a scenario format. A descriptor is the set of information used to instantiate a scenario format in an IlrScenarioFormatFactory object.

    An instance can be written to and loaded from a stream.

    Instances of this class are created using an instance of IlrScenarioFormatDescriptorFactory.
    Since:
    7.0
    • Method Detail

      • setScenarioFormatName

        void setScenarioFormatName(java.lang.String theNameOfTheScenarioFormat)
        Sets the unique name for the scenario format. This information is not localized.
        Parameters:
        theNameOfTheScenarioFormat - The name for the scenario format.
      • getScenarioFormatName

        java.lang.String getScenarioFormatName()
        Returns the unique name for the scenario format. This information is not localized.
        Returns:
        The name of the scenario format.
      • setComparisonPrecisionDescriptor

        void setComparisonPrecisionDescriptor(IlrComparisonPrecisionDescriptor theComparisonPrecisionDescriptor)
        Sets the precision to use when comparing expected and actual values in tests.
        Parameters:
        theComparisonPrecisionDescriptor - The precision to use when comparing expected and actual values in tests.
      • getComparisonPrecisionDescriptor

        IlrComparisonPrecisionDescriptor getComparisonPrecisionDescriptor()
        Returns the precision to use when comparing expected and actual values in tests.
        Returns:
        The precision to use when comparing expected and actual values in tests.
      • setScenarioProviderClassName

        void setScenarioProviderClassName(java.lang.String theScenarioProviderClassName)
        Sets the name of the scenario provider class for the scenario format.
        Parameters:
        theScenarioProviderClassName - The name of the scenario provider class for the scenario format.
      • getScenarioProviderClassName

        java.lang.String getScenarioProviderClassName()
        Returns the scenario provider class for the scenario format.
        Returns:
        The scenario provider class for the scenario format.
      • getTestableExecutionDetails

        java.util.List<IlrScenarioFormatDescriptor.ExecutionDetails> getTestableExecutionDetails()
        Returns the execution details that can be tested in a scenario using this scenario format.
        Returns:
        A list containing the execution details that can be tested in a scenario using this scenario format.
      • setTestableExecutionDetails

        void setTestableExecutionDetails(java.util.List<IlrScenarioFormatDescriptor.ExecutionDetails> theTestableExecutionDetails)
        Sets the execution details that can be tested in a scenario using this scenario format.
        Parameters:
        theTestableExecutionDetails - A list containing the execution details that can be tested in a scenario using this scenario format.
      • getCalculatedKPIClassNames

        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.
        Returns:
        The list of names for the KPI classes that are calculated when running scenarios that use 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.
      • setCalculatedKPIClassNames

        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.
        Parameters:
        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.
      • getProperties

        java.util.Properties getProperties()
        Retrieves the format properties.
        Returns:
        The format properties.
      • setProperties

        void setProperties(java.util.Properties theFormatProperties)
        Sets the format properties.
        Parameters:
        theFormatProperties - The format properties.
      • store

        void store(java.io.OutputStream theOutputStream)
                   throws java.io.IOException
        Saves the scenario format descriptor to an output stream.
        Throws:
        java.io.IOException - if there is a problem writing to theOutputStream.
        Parameters:
        theOutputStream - The output stream to save the descriptor to.

© Copyright IBM Corp. 1987, 2017