Class EvaluationRequest
- java.lang.Object
-
- com._1c.g5.v8.dt.debug.core.model.evaluation.EvaluationRequest
-
- All Implemented Interfaces:
IEvaluationRequest
public class EvaluationRequest extends Object implements IEvaluationRequest
Default implementation ofIEvaluationRequest
.
-
-
Constructor Summary
Constructors Constructor Description EvaluationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, int maxTestSize, boolean isMultiLine, IEvaluationListener evaluationListener)
Creates an instance ofEvaluationRequest
.EvaluationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, IEvaluationListener evaluationListener)
Creates an instance ofEvaluationRequest
.EvaluationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, List<ViewInterface> evaluationInterfaces, int maxTestSize, boolean isMultiLine, IEvaluationListener evaluationListener)
Creates an instance ofEvaluationRequest
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEvaluationListener
getEvaluationListener()
Returns the listener to report result to, when expression will be evaluated.UUID
getExpressionUuid()
Returns the UUID of the root expression.List<ViewInterface>
getInterfaces()
Returns the value interfaces to evaluate expresion for.int
getMaxTextSize()
Returns the value maximum text representation size.BslValuePath
getPath()
Returns the BSL value path.IBslStackFrame
getStackFrame()
Returns the stack frame, that contains evaluating expression.boolean
isMultiLine()
Returns whether text result may contain multiple lines.
-
-
-
Constructor Detail
-
EvaluationRequest
public EvaluationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, IEvaluationListener evaluationListener)
Creates an instance ofEvaluationRequest
.- Parameters:
stackFrame
- the stack frame, that contains evaluating expression, cannot benull
expressionUuid
- the UUID of the root expression, cannot benull
path
- the BSL value path (seeBslValuePath
), cannot benull
evaluationInterface
- the value interfaces to evaluate value with, cannot benull
evaluationListener
- the listener to report result to, when expression will be evaluated, cannot benull
-
EvaluationRequest
public EvaluationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, int maxTestSize, boolean isMultiLine, IEvaluationListener evaluationListener)
Creates an instance ofEvaluationRequest
.- Parameters:
stackFrame
- the stack frame, that contains evaluating expression, cannot benull
expressionUuid
- the UUID of the root expression, cannot benull
path
- the BSL value path (seeBslValuePath
), cannot benull
evaluationInterface
- the value interfaces to evaluate value with, cannot benull
maxTestSize
- the value maximum text representation size or0
for unlimited and full representationisMultiLine
- whether text result may contain multiple lines. Iffalse
then miltiple line text will be cut at first line breakevaluationListener
- the listener to report result to, when expression will be evaluated, cannot benull
-
EvaluationRequest
public EvaluationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, List<ViewInterface> evaluationInterfaces, int maxTestSize, boolean isMultiLine, IEvaluationListener evaluationListener)
Creates an instance ofEvaluationRequest
.- Parameters:
stackFrame
- the stack frame, that contains evaluating expression, cannot benull
expressionUuid
- the UUID of the root expression, cannot benull
path
- the BSL value path (seeBslValuePath
), cannot benull
evaluationInterfaces
- the value interfaces to evaluate value with, first matching interface will be used for evaluation, cannot benull
maxTestSize
- the value maximum text representation size or0
for unlimited and full representationisMultiLine
- whether text result may contain multiple lines. Iffalse
then miltiple line text will be cut at first line breakevaluationListener
- the listener to report result to, when expression will be evaluated, cannot benull
-
-
Method Detail
-
getExpressionUuid
public UUID getExpressionUuid()
Description copied from interface:IEvaluationRequest
Returns the UUID of the root expression.- Specified by:
getExpressionUuid
in interfaceIEvaluationRequest
- Returns:
- the UUID of the root expression, never
null
-
getStackFrame
public IBslStackFrame getStackFrame()
Description copied from interface:IEvaluationRequest
Returns the stack frame, that contains evaluating expression.- Specified by:
getStackFrame
in interfaceIEvaluationRequest
- Returns:
- the stack frame, that contains evaluating expression, never
null
-
getPath
public BslValuePath getPath()
Description copied from interface:IEvaluationRequest
Returns the BSL value path.- Specified by:
getPath
in interfaceIEvaluationRequest
- Returns:
- the BSL value path, never
null
- See Also:
BslValuePath
-
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 interfaceIEvaluationRequest
- Returns:
- the value interfaces to evaluate expresion for, never
null
-
getEvaluationListener
public IEvaluationListener getEvaluationListener()
Description copied from interface:IEvaluationRequest
Returns the listener to report result to, when expression will be evaluated.- Specified by:
getEvaluationListener
in interfaceIEvaluationRequest
- Returns:
- the listener to report result to, when expression will be evaluated, never
null
-
getMaxTextSize
public int getMaxTextSize()
Description copied from interface:IEvaluationRequest
Returns the value maximum text representation size. May be0
for unlimited and full representation.- Specified by:
getMaxTextSize
in interfaceIEvaluationRequest
- 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. Iffalse
then miltiple line text will be cut at first line break.- Specified by:
isMultiLine
in interfaceIEvaluationRequest
- Returns:
- whether text result may contain multiple lines. If
false
then miltiple line text will be cut at first line break
-
-