Class FilterActivity


  • public final class FilterActivity
    extends ControlActivity
    Filter and return results from input array based on the conditions.
    • Constructor Detail

      • FilterActivity

        public FilterActivity()
    • Method Detail

      • withName

        public FilterActivity withName​(String name)
        Set the name property: Activity name.
        Overrides:
        withName in class ControlActivity
        Parameters:
        name - the name value to set.
        Returns:
        the Activity object itself.
      • withDescription

        public FilterActivity withDescription​(String description)
        Set the description property: Activity description.
        Overrides:
        withDescription in class ControlActivity
        Parameters:
        description - the description value to set.
        Returns:
        the Activity object itself.
      • withUserProperties

        public FilterActivity withUserProperties​(List<UserProperty> userProperties)
        Set the userProperties property: Activity user properties.
        Overrides:
        withUserProperties in class ControlActivity
        Parameters:
        userProperties - the userProperties value to set.
        Returns:
        the Activity object itself.
      • items

        public Expression items()
        Get the items property: Input array on which filter should be applied.
        Returns:
        the items value.
      • withItems

        public FilterActivity withItems​(Expression items)
        Set the items property: Input array on which filter should be applied.
        Parameters:
        items - the items value to set.
        Returns:
        the FilterActivity object itself.
      • condition

        public Expression condition()
        Get the condition property: Condition to be used for filtering the input.
        Returns:
        the condition value.
      • withCondition

        public FilterActivity withCondition​(Expression condition)
        Set the condition property: Condition to be used for filtering the input.
        Parameters:
        condition - the condition value to set.
        Returns:
        the FilterActivity object itself.