Class ModificationRequest

    • Constructor Detail

      • ModificationRequest

        public ModificationRequest​(IBslStackFrame stackFrame,
                                   UUID expressionUuid,
                                   BslValuePath path,
                                   String expression,
                                   IEvaluationListener evaluationListener)
        Creates an instance of ModificationRequest.
        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
        expression - the new expression to variable with the give BSL value path, cannot be null
        evaluationListener - the listener to report result to, when expression will be evaluated, cannot be null
      • ModificationRequest

        public ModificationRequest​(IBslStackFrame stackFrame,
                                   UUID expressionUuid,
                                   BslValuePath path,
                                   String expression,
                                   int maxTestSize,
                                   boolean isMultiLine,
                                   IEvaluationListener evaluationListener)
        Creates an instance of ModificationRequest.
        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
        expression - the new expression to variable with the give BSL value path, 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

      • getExpression

        public String getExpression()
        Description copied from interface: IModificationRequest
        Returns the new expression to variable with the give BSL value path.
        Specified by:
        getExpression in interface IModificationRequest
        Returns:
        the new expression to variable with the give BSL value path, never null
      • getMaxTextSize

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

        public boolean isMultiLine()
        Description copied from interface: IModificationRequest
        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 IModificationRequest
        Returns:
        whether text result may contain multiple lines. If false then miltiple line text will be cut at first line break