Class AbstractFilter

    • Field Detail

      • m_Filter

        protected Filter m_Filter
        the filter to apply.
      • m_VariableName

        protected VariableName m_VariableName
        the variable to listen to.
      • m_OutputContainer

        protected boolean m_OutputContainer
        whether to output a container.
      • m_DatabaseConnectionUpdated

        protected boolean m_DatabaseConnectionUpdated
        whether the database connection has been updated.
      • m_FlowContextUpdated

        protected boolean m_FlowContextUpdated
        whether the flow context has been updated.
    • Constructor Detail

      • AbstractFilter

        public AbstractFilter()
    • Method Detail

      • reset

        protected void reset()
        Resets the scheme.
        Overrides:
        reset in class AbstractActor
      • setFilter

        public void setFilter​(Filter value)
        Sets the filter to use.
        Parameters:
        value - the filter
      • getFilter

        public Filter getFilter()
        Returns the filter in use.
        Returns:
        the filter
      • filterTipText

        public String filterTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • variableNameTipText

        public String variableNameTipText()
        Returns the tip text for this property.
        Specified by:
        variableNameTipText in interface VariableMonitor
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOutputContainer

        public void setOutputContainer​(boolean value)
        Sets whether to output a container with the filter alongside the filtered data or just the filtered data.
        Parameters:
        value - true if to output the container
      • getOutputContainer

        public boolean getOutputContainer()
        Returns whether to output a container with the filter alongside the filtered data or just the filtered data.
        Returns:
        true if to output the container
      • outputContainerTipText

        public String outputContainerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getOutputContainerClass

        protected abstract Class getOutputContainerClass()
        Returns the container class in use for the output.
        Returns:
        the container class
      • getDatabaseConnection

        protected abstract AbstractDatabaseConnection getDatabaseConnection()
        Determines the database connection in the flow.
        Returns:
        the database connection to use
      • createToken

        protected Token createToken​(Object output)
        Creates the output token.
        Parameters:
        output - the generated output
        Returns:
        the generated token
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message