Packagesystem.logic
Classpublic class ElseIf
InheritanceElseIf Inheritance Object
Implements Rule
Subclasses ElseIfEmptyString, ElseIfEquals, ElseIfFalse, ElseIfGreaterOrEqualsThan, ElseIfGreaterThan, ElseIfLessOrEqualsThan, ElseIfLessThan, ElseIfNull, ElseIfTrue, ElseIfZero

Defines a conditional rule to defines a specific 'elseif' block in a IfTask reference.

See also

system.rules.Rule
system.process.logic.IfTask


Public Properties
 PropertyDefined By
  rule : Rule
The conditional rule of the 'elseif' block.
ElseIf
  then : Action
The then action of the 'elseif' block.
ElseIf
Public Methods
 MethodDefined By
  
ElseIf(rule:* = null, then:Action = null)
Creates a new ElseIf instance.
ElseIf
  
eval():Boolean
Evaluates a specific condition.
ElseIf
Property Detail
ruleproperty
public var rule:Rule

The conditional rule of the 'elseif' block.

thenproperty 
public var then:Action

The then action of the 'elseif' block.

Constructor Detail
ElseIf()Constructor
public function ElseIf(rule:* = null, then:Action = null)

Creates a new ElseIf instance.

Parameters
rule:* (default = null) — The Rule of the conditional block.
 
then:Action (default = null) — The Action to execute if the condition is true.
Method Detail
eval()method
public function eval():Boolean

Evaluates a specific condition.

Returns
Boolean