Class JRRecordedValues

    • Constructor Detail

      • JRRecordedValues

        public JRRecordedValues​(Set<JREvaluationTime> evaluationTimes)
        Creates a recorded values set.
        Parameters:
        evaluationTimes - future times when the values will be recorded
    • Method Detail

      • doneEvaluation

        public void doneEvaluation​(JREvaluationTime evaluationTime)
        Marks an evaluation time as done.
        Parameters:
        evaluationTime - the evaluation time
      • lastEvaluationTime

        public boolean lastEvaluationTime()
        Decides whether this is the last evaluation time.
        Returns:
        whether this is the last evaluation time
      • finishedEvaluations

        public boolean finishedEvaluations()
        Decides whether all required evaluations are done.
        Returns:
        whether all required evaluations are done
      • recordVariableValue

        public void recordVariableValue​(String variableName,
                                        Object value)
        Records a variable value.
        Parameters:
        variableName - the variable name
        value - the variable value to record
      • recordFieldValue

        public void recordFieldValue​(String fieldName,
                                     Object value)
        Records a field value.
        Parameters:
        fieldName - the field name
        value - the field value to record
      • getRecordedVariableValues

        public Map<String,​Object> getRecordedVariableValues()
        Returns the recorded variable values indexed by variable name.
        Returns:
        the recorded variable values
      • getRecordedFieldValues

        public Map<String,​Object> getRecordedFieldValues()
        Returns the recorded field values indexed by field name.
        Returns:
        the recorded field values