forked from Jibo-Revival-Group/JiboOs
64 lines
1.3 KiB
JavaScript
64 lines
1.3 KiB
JavaScript
/**
|
|
* Enumeration of behavior states
|
|
* @class Status
|
|
* @memberof jibo.bt
|
|
*/
|
|
|
|
/**
|
|
* The behavior or flow succeeded.
|
|
* @name jibo.bt.Status.SUCCEEDED
|
|
* @type {String}
|
|
* @readOnly
|
|
* @default "SUCCEEDED"
|
|
*/
|
|
|
|
/**
|
|
* The behavior or flow failed.
|
|
* @name jibo.bt.Status.FAILED
|
|
* @type {String}
|
|
* @readOnly
|
|
* @default "FAILED"
|
|
*/
|
|
|
|
/**
|
|
* The behavior or flow was interrupted.
|
|
* @name jibo.bt.Status.INTERRUPTED
|
|
* @type {String}
|
|
* @readOnly
|
|
* @default "INTERRUPTED"
|
|
*/
|
|
|
|
/**
|
|
* The behavior is in progress and hasn't returned.
|
|
* (Not returned for flows)
|
|
* @name jibo.bt.Status.IN_PROGRESS
|
|
* @type {String}
|
|
* @readOnly
|
|
* @default "IN_PROGRESS"
|
|
*/
|
|
|
|
/**
|
|
* The behavior is in an invalid state.
|
|
* (Not returned for flows)
|
|
* @name jibo.bt.Status.INVALID
|
|
* @type {String}
|
|
* @readOnly
|
|
* @default "INVALID"
|
|
*/
|
|
|
|
/**
|
|
* Don't update the state.
|
|
* (Not returned for flows)
|
|
* @name jibo.bt.Status.PAUSED
|
|
* @type {String}
|
|
* @readOnly
|
|
* @default "PAUSED"
|
|
*/
|
|
|
|
/**
|
|
* Only used by decorators.
|
|
* @name jibo.bt.Status.WAIT
|
|
* @type {String}
|
|
* @readOnly
|
|
* @default "WAIT"
|
|
*/ |