Home > borogove > CommandSession

CommandSession class

Signature:

export class borogove_CommandSession 

Constructors

Constructor Modifiers Description
(constructor)(status, sessionid, actions, forms, command) protected Constructs a new instance of the borogove_CommandSession class

Properties

Property Modifiers Type Description
actions borogove_FormOption[] Actions the server currently allows for this session
forms borogove_Form[] Forms to display for the current session step
name string Human-readable title for the current command session
status string Current command execution status

Methods

Method Modifiers Description
execute(action, data, formIdx) Continue this command session, optionally submitting form data