Class RuntimeEvaluationRequest


  • public class RuntimeEvaluationRequest
    extends Object
    Contains evaluation request description for the 1C:Enterprise runtime debug server. Runtime evaluation requests are immutable.
    • Constructor Detail

      • RuntimeEvaluationRequest

        public RuntimeEvaluationRequest​(BslValuePath expressionPath,
                                        int stackLevel,
                                        List<ViewInterface> interfaces,
                                        int maxSize,
                                        boolean isMultiLine,
                                        UUID expressionUuid,
                                        UUID evaluationUuid)
        Constructof of RuntimeEvaluationRequest.
        Parameters:
        expressionPath - the BSL value path to evaluate, cannot be null
        stackFrame - the stack frame, that contains evaluating expression, cannot be null
        interfaces - the value interfaces to evaluate value with, first matching interface will be used for evaluation, cannot be null
        maxSize - response text presentation max size
        isMultiLine - whether text result may contain multiple lines. If false then miltiple line text will be cut at first line break
        expressionUuid - the UUID of the root expression, cannot be null
        evaluationUuid - the UUID of the evaluation, cannot be null
    • Method Detail

      • getExpressionPath

        public BslValuePath getExpressionPath()
        Returns the BSL expression path.
        Returns:
        the BSL expression path, never null
      • getStackLevel

        public int getStackLevel()
        Returns the stack level of the evaluation.
        Returns:
        the stack level of the evaluation
      • getInterfaces

        public List<ViewInterface> getInterfaces()
        Returns the value interfaces to evaluate expresion for. First matching interface will be used for evaluation.
        Returns:
        the value interfaces to evaluate expresion for, never null
      • getMaxSize

        public int getMaxSize()
        Returns the value maximum text representation size. May be 0 for unlimited and full representation.
        Returns:
        the value maximum text representation size or 0 for unlimited and full representation.
      • isMultiLine

        public boolean isMultiLine()
        Returns whether text result may contain multiple lines. If false then miltiple line text will be cut at first line break.
        Returns:
        whether text result may contain multiple lines. If false then miltiple line text will be cut at first line break
      • getExpressionUuid

        public UUID getExpressionUuid()
        Returns the UUID of the root expression.
        Returns:
        the UUID of the root expression, never null
      • getEvaluationUuid

        public UUID getEvaluationUuid()
        Returns the evaluation UUID
        Returns:
        the UUID of the evaluation, never null