See: Description
| Interface | Description |
|---|---|
| IlrDVSArchiveLaunchConfigurationConstants |
Holds the definitions for DVS launch configurations.
|
| Class | Description |
|---|---|
| DeployedXomDescriptorValidator |
Class responsible for validating the information stored in deployment descriptor files.
|
| IlrDVSArchiveLaunchConfigurationDelegate |
The DVS archive testing and simulation implementation of
IlrDVSLaunchConfigurationDelegate. |
| IlrDVSArchiveRunner |
Used to run a DVS archive.
|
| IlrDVSLaunchConfigurationDelegate |
The abstract implementation of a DVS launch configuration delegate.
|
| IlrDVSRunner |
An abstract implementation used to execute scenarios.
|
| IlrExcelLaunchConfigurationDelegate |
The Excel 2003 implementation of
IlrDVSLaunchConfigurationDelegate. |
| IlrExcelRunner |
Used to execute an Excel scenario file.
|
Provides a set of abstract classes that you can extend to create and customize a new Eclipse launcher to execute a DVS archive.
To declare a custom launcher you must do the following tasks:
IlrDVSLaunchConfigurationDelegate abstract class and implement the launch(ILaunchConfiguration, String,
ILaunch, IProgressMonitor) method. The following code shows an example method implementation:
public void launch(ILaunchConfiguration configuration, String mode,
ILaunch launch, IProgressMonitor monitor) throws CoreException {
// get the attribute values
String dvsarchivePath = getValue(configuration, IlrDVSArchiveLaunchConfigurationConstants.DVS_ARCHIVE, null);
// execute the DVS runner
run(configuration, mode, launch, monitor, "ilog.rules.studio.dvs.execution.IlrDVSArchiveRunner",
new String[] {dvsarchivePath});
}
IlrDVSRunner abstract class and implement a main method. The following code shows an example method implementation:
public static void main(String[] args) {
IlrDVSArchiveRunner runner = new IlrDVSArchiveRunner();
String[] strings = runner.extractCustomArgs(args);
String dvsarchivePath = strings[0];
try {
IlrScenarioSuiteDescriptor scenarioSuite = runner.createScenarioSuiteDescriptorFromDVSTestingAndSimulationArchive(
new File(dvsarchivePath));
runner.run(args, scenarioSuite);
} catch (Exception e) {
e.printStackTrace();
}
}
Use the classes in the ilog.rules.studio.dvs.ui.execution package to implement these methods in the interface.
© Copyright IBM Corp. 1987, 2017