Class ReportValueMatches

    • Field Detail

      • m_Field

        protected Field m_Field
        the field in the report to check.
      • m_Value

        protected String m_Value
        the required value of the field.
      • m_ValueParsed

        protected transient boolean m_ValueParsed
        whether the values have been parsed.
      • m_ValueNumeric

        protected transient Double m_ValueNumeric
        the numeric value.
      • m_ValueBoolean

        protected transient Boolean m_ValueBoolean
        the boolean value.
    • Constructor Detail

      • ReportValueMatches

        public ReportValueMatches()
        Default constructor.
      • ReportValueMatches

        public ReportValueMatches​(Field field,
                                  String value)
        Initializes with the specified field.
        Parameters:
        field - the field to use
        value - the required value
    • Method Detail

      • setField

        public void setField​(Field value)
        Sets the field to look for in the report.
        Parameters:
        value - the field
      • getField

        public Field getField()
        Returns the field to look for in the report.
        Returns:
        the field
      • fieldTipText

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

        public void setValue​(String value)
        Sets the required value for the field.
        Parameters:
        value - the value
      • getValue

        public String getValue()
        Returns the required value for the field.
        Returns:
        the value
      • valueTipText

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

        protected boolean doEvaluate​(Actor owner,
                                     Token token)
        Performs the actual evaluation.
        Specified by:
        doEvaluate in class AbstractBooleanCondition
        Parameters:
        owner - the owning actor
        token - the current token passing through
        Returns:
        the result of the evaluation