Rule Designer API

ilog.rules.dvs.core
Interface IlrScenarioFormatFactory


public interface IlrScenarioFormatFactory

Factory class uses to create instances of IlrScenarioFormat from format descriptors.

Since:
7.0

Method Summary
 IlrScenarioFormat createScenarioFormat(IlrScenarioFormatDescriptor theFormatDescriptor)
          Creates a new instance of a scenario format from a scenario format descriptor.
 void setClassLoader(ClassLoader classLoader)
          Specifies the class loader used to find classes in the classpath.
 

Method Detail

createScenarioFormat

IlrScenarioFormat createScenarioFormat(IlrScenarioFormatDescriptor theFormatDescriptor)
                                       throws IlrScenarioFormatException
Creates a new instance of a scenario format from a scenario format descriptor.

Throws:
IlrScenarioFormatException - if an error occurs creating the format.
Parameters:
theFormatDescriptor - The scenario format descriptor.
Returns:
A new scenario format instance.

setClassLoader

void setClassLoader(ClassLoader classLoader)
Specifies the class loader used to find classes in the classpath. If this class loader is not specified, the default class loader is used.

Parameters:
classLoader - The class loader used to find classes in the classpath.

Rule Designer API

© Copyright IBM Corp. 1987, 2013