Package com.suncode.pwfl.component
Class Condition
java.lang.Object
com.suncode.pwfl.component.Condition
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn condition function that will be evaluated to check if condition is fulfilled.boolean
Returnstrue
if this condition is fulfilled right now.
-
Constructor Details
-
Condition
-
-
Method Details
-
getConditionFn
Return condition function that will be evaluated to check if condition is fulfilled.- Returns:
- condition function
-
isFulfilled
public boolean isFulfilled()Returnstrue
if this condition is fulfilled right now. Condition is fulfilled if condition function result is true.- Returns:
- true if condition is fulfilled
-