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