new Interview(id, adxDirPath)
Create a new instance of object to manipulate an interview
Parameters:
Name | Type | Description |
---|---|---|
id |
String | Id of the interview |
adxDirPath |
String | Path of the ADX directory |
Members
-
id :String
-
Id of the interview
Type:
- String
-
path :String
-
Path of the ADX directory
Type:
- String
-
shell :InteractiveADXShell
-
Interactive shell that is used to manipulate the interview
Type:
Methods
-
destroy()
-
Destroy the interview
-
execCommand(command [, options] [, callback])
-
Execute a command to manipulate an interview
Parameters:
Name Type Argument Description command
String | "show" | "update" | "restart" Command to execute
options
Object <optional>
Options of the command
Properties
Name Type Argument Description fixture
String <optional>
Name of the fixture file to use
emulation
String <optional>
Name of the fixture file to use as emulation
properties
String <optional>
Properties of the ADX
parameters
String <optional>
Parameters to update the interview
themes
String <optional>
Themes variables to set
callback
function <optional>
Callback function