Class Condition

java.lang.Object
com.suncode.pwfl.component.Condition

@Api public class Condition extends Object
Component condition. Provides way to create conditional components that may provide some functionality when user defined condition is fulfilled.
Author:
Cezary Kozar 18 maj 2016
  • Constructor Details

  • Method Details

    • getConditionFn

      public FunctionCall getConditionFn()
      Return condition function that will be evaluated to check if condition is fulfilled.
      Returns:
      condition function
    • isFulfilled

      public boolean isFulfilled()
      Returns true if this condition is fulfilled right now. Condition is fulfilled if condition function result is true.
      Returns:
      true if condition is fulfilled