Interface StringExpression

    • Method Detail

      • evaluate

        java.lang.String evaluate()
                           throws JmriException
        Evaluate this expression.
        Returns:
        the result of the evaluation
        Throws:
        JmriException - when an exception occurs
      • setTriggerOnChange

        void setTriggerOnChange​(boolean triggerOnChange)
        Set whenether this expression should trigger the ConditionalNG if the named beans it listens to changes state.
        Parameters:
        triggerOnChange - true if trigger on change, false otherwise
      • getTriggerOnChange

        boolean getTriggerOnChange()
        Get whenether this expression should trigger the ConditionalNG if the named beans it listens to changes state.
        Returns:
        true if trigger on change, false otherwise