Class IfThenElse

All Implemented Interfaces:
Composable, MultiPhased, DynamicActionSequence

@NonBrowserable public class IfThenElse extends SinglePhaseAction implements DynamicActionSequence
IfThenElse is a subclass of SinglePhaseAction which performs actions according to the evaluation result of specified function. If this function returns something different from null or false then the result is positive; otherwise negative.

IfThenElse maintains two lists of actions internally:

  • positive action list - list of actions to perform for positive result
  • negative action list - list of actions to perform for negative result
Author:
Kimberly