Rule Methods

Rule has all the Concept methods plus what follows.

[tab:Java]

Retrieve the when body

rule.when();

Retrieves the statements that constructs the when body of the rule.

Returns

String

Retrieve the then body

rule.then();

Retrieves the single statement that constructs the then body of the rule.

Returns

String

[tab:end] [tab:Javascript]

Retrieve the when body

async rule.getWhen();

Retrieves the statements that constructs the when body of the rule.

Returns

String

Retrieve the then body

async rule.get_then();

Retrieves the single statement that constructs the then body of the rule.

Returns

String

[tab:end] [tab:Python]

Retrieve the when body

rule.get_when()

Retrieves the statements that constructs the when body of the rule.

Returns

String

Retrieve the then body

rule.getThen()

Retrieves the single statement that constructs the then body of the rule.

Returns

String

[tab:end]