Class EvaluationRequest

    • Constructor Detail

      • EvaluationRequest

        public EvaluationRequest​(IBslStackFrame stackFrame,
                                 UUID expressionUuid,
                                 BslValuePath path,
                                 ViewInterface evaluationInterface,
                                 IEvaluationListener evaluationListener)
        Creates an instance of EvaluationRequest.
        Parameters:
        stackFrame - the stack frame, that contains evaluating expression, cannot be null
        expressionUuid - the UUID of the root expression, cannot be null
        path - the BSL value path (see BslValuePath), cannot be null
        evaluationInterface - the value interfaces to evaluate value with, cannot be null
        evaluationListener - the listener to report result to, when expression will be evaluated, cannot be null
      • EvaluationRequest

        public EvaluationRequest​(IBslStackFrame stackFrame,
                                 UUID expressionUuid,
                                 BslValuePath path,
                                 ViewInterface evaluationInterface,
                                 int maxTestSize,
                                 boolean isMultiLine,
                                 IEvaluationListener evaluationListener)
        Creates an instance of EvaluationRequest.
        Parameters:
        stackFrame - the stack frame, that contains evaluating expression, cannot be null
        expressionUuid - the UUID of the root expression, cannot be null
        path - the BSL value path (see BslValuePath), cannot be null
        evaluationInterface - the value interfaces to evaluate value with, cannot be null
        maxTestSize - the value maximum text representation size or 0 for unlimited and full representation
        isMultiLine - whether text result may contain multiple lines. If false then miltiple line text will be cut at first line break
        evaluationListener - the listener to report result to, when expression will be evaluated, cannot be null
      • EvaluationRequest

        public EvaluationRequest​(IBslStackFrame stackFrame,
                                 UUID expressionUuid,
                                 BslValuePath path,
                                 List<ViewInterface> evaluationInterfaces,
                                 int maxTestSize,
                                 boolean isMultiLine,
                                 IEvaluationListener evaluationListener)
        Creates an instance of EvaluationRequest.
        Parameters:
        stackFrame - the stack frame, that contains evaluating expression, cannot be null
        expressionUuid - the UUID of the root expression, cannot be null
        path - the BSL value path (see BslValuePath), cannot be null
        evaluationInterfaces - the value interfaces to evaluate value with, first matching interface will be used for evaluation, cannot be null
        maxTestSize - the value maximum text representation size or 0 for unlimited and full representation
        isMultiLine - whether text result may contain multiple lines. If false then miltiple line text will be cut at first line break
        evaluationListener - the listener to report result to, when expression will be evaluated, cannot be null
    • Method Detail

      • getInterfaces

        public List<ViewInterface> getInterfaces()
        Description copied from interface: IEvaluationRequest
        Returns the value interfaces to evaluate expresion for. First matching interface will be used for evaluation.
        Specified by:
        getInterfaces in interface IEvaluationRequest
        Returns:
        the value interfaces to evaluate expresion for, never null
      • getMaxTextSize

        public int getMaxTextSize()
        Description copied from interface: IEvaluationRequest
        Returns the value maximum text representation size. May be 0 for unlimited and full representation.
        Specified by:
        getMaxTextSize in interface IEvaluationRequest
        Returns:
        the value maximum text representation size or 0 for unlimited and full representation.
      • isMultiLine

        public boolean isMultiLine()
        Description copied from interface: IEvaluationRequest
        Returns whether text result may contain multiple lines. If false then miltiple line text will be cut at first line break.
        Specified by:
        isMultiLine in interface IEvaluationRequest
        Returns:
        whether text result may contain multiple lines. If false then miltiple line text will be cut at first line break