Class ModificationRequest
- java.lang.Object
-
- com._1c.g5.v8.dt.debug.core.model.evaluation.ModificationRequest
-
- All Implemented Interfaces:
IModificationRequest
public class ModificationRequest extends Object implements IModificationRequest
Default implementation ofIModificationRequest
.
-
-
Constructor Summary
Constructors Constructor Description ModificationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, String expression, int maxTestSize, boolean isMultiLine, IEvaluationListener evaluationListener)
Creates an instance ofModificationRequest
.ModificationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, String expression, IEvaluationListener evaluationListener)
Creates an instance ofModificationRequest
.
-
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.String
getExpression()
Returns the new expression to variable with the give BSL value path.UUID
getExpressionUuid()
Returns the UUID of the root expression.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
-
ModificationRequest
public ModificationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, String expression, IEvaluationListener evaluationListener)
Creates an instance ofModificationRequest
.- 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
expression
- the new expression to variable with the give BSL value path, cannot benull
evaluationListener
- the listener to report result to, when expression will be evaluated, cannot benull
-
ModificationRequest
public ModificationRequest(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, String expression, int maxTestSize, boolean isMultiLine, IEvaluationListener evaluationListener)
Creates an instance ofModificationRequest
.- 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
expression
- the new expression to variable with the give BSL value path, 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:IModificationRequest
Returns the UUID of the root expression.- Specified by:
getExpressionUuid
in interfaceIModificationRequest
- Returns:
- the UUID of the root expression, never
null
-
getPath
public BslValuePath getPath()
Description copied from interface:IModificationRequest
Returns the BSL value path.- Specified by:
getPath
in interfaceIModificationRequest
- Returns:
- the BSL value path, never
null
- See Also:
BslValuePath
-
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 interfaceIModificationRequest
- Returns:
- the new expression to variable with the give BSL value path, never
null
-
getStackFrame
public IBslStackFrame getStackFrame()
Description copied from interface:IModificationRequest
Returns the stack frame, that contains evaluating expression.- Specified by:
getStackFrame
in interfaceIModificationRequest
- Returns:
- the stack frame, that contains evaluating expression, never
null
-
getEvaluationListener
public IEvaluationListener getEvaluationListener()
Description copied from interface:IModificationRequest
Returns the listener to report result to, when expression will be evaluated.- Specified by:
getEvaluationListener
in interfaceIModificationRequest
- Returns:
- the listener to report result to, when expression will be evaluated, never
null
-
getMaxTextSize
public int getMaxTextSize()
Description copied from interface:IModificationRequest
Returns the value maximum text representation size. May be0
for unlimited and full representation.- Specified by:
getMaxTextSize
in interfaceIModificationRequest
- 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. Iffalse
then miltiple line text will be cut at first line break.- Specified by:
isMultiLine
in interfaceIModificationRequest
- Returns:
- whether text result may contain multiple lines. If
false
then miltiple line text will be cut at first line break
-
-