Class EvaluationRequest.EvaluationRequestBuilder
- java.lang.Object
-
- com._1c.g5.v8.dt.debug.core.model.evaluation.EvaluationRequest.EvaluationRequestBuilder
-
- Enclosing class:
- EvaluationRequest
public static final class EvaluationRequest.EvaluationRequestBuilder extends Object
Builder of theEvaluationRequest
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEvaluationRequest
build()
Builds the request.EvaluationRequest.EvaluationRequestBuilder
setEvaluationListener(IEvaluationListener evaluationListener)
Sets the listener to report result to when expression will be evaluated.EvaluationRequest.EvaluationRequestBuilder
setEvaluationPage(int offset, int length)
Sets the evaliation page for BSL collections evaliation.EvaluationRequest.EvaluationRequestBuilder
setExpressionUuid(UUID expressionUuid)
Sets the UUID of the root expression.EvaluationRequest.EvaluationRequestBuilder
setInterface(ViewInterface evaluationInterface)
Sets the value interface to evaluate value with.EvaluationRequest.EvaluationRequestBuilder
setInterfaces(List<ViewInterface> evaluationInterfaces)
Sets the value interfaces to evaluate value with.EvaluationRequest.EvaluationRequestBuilder
setMaxTestSize(int maxTestSize)
Sets the value maximum text representation size.EvaluationRequest.EvaluationRequestBuilder
setMultiLine(boolean isMultiLine)
Sets whether text result may contain multiple lines.EvaluationRequest.EvaluationRequestBuilder
setStackFrame(IBslStackFrame stackFrame)
Sets stackFrame the stack frame that contains evaluating expression
-
-
-
Method Detail
-
setStackFrame
public EvaluationRequest.EvaluationRequestBuilder setStackFrame(IBslStackFrame stackFrame)
Sets stackFrame the stack frame that contains evaluating expression- Parameters:
stackFrame
- the stack frame that contains evaluating expression, cannot benull
- Returns:
- a reference to the builder, never
null
-
setInterface
public EvaluationRequest.EvaluationRequestBuilder setInterface(ViewInterface evaluationInterface)
Sets the value interface to evaluate value with.- Parameters:
evaluationInterface
- the value interface to evaluate value with, cannot benull
- Returns:
- a reference to the builder, never
null
-
setInterfaces
public EvaluationRequest.EvaluationRequestBuilder setInterfaces(List<ViewInterface> evaluationInterfaces)
Sets the value interfaces to evaluate value with.- Parameters:
evaluationInterfaces
- the value interfaces to evaluate value with, first matching interface will be used for evaluation, cannot benull
- Returns:
- a reference to the builder, never
null
-
setMaxTestSize
public EvaluationRequest.EvaluationRequestBuilder setMaxTestSize(int maxTestSize)
Sets the value maximum text representation size.- Parameters:
maxTestSize
- the value maximum text representation size or0
for unlimited and full representation- Returns:
- a reference to the builder, never
null
-
setMultiLine
public EvaluationRequest.EvaluationRequestBuilder setMultiLine(boolean isMultiLine)
Sets whether text result may contain multiple lines.- Parameters:
isMultiLine
- whether text result may contain multiple lines. Iffalse
then miltiple line text will be cut at first line break- Returns:
- a reference to the builder, never
null
-
setEvaluationPage
public EvaluationRequest.EvaluationRequestBuilder setEvaluationPage(int offset, int length)
Sets the evaliation page for BSL collections evaliation.- Parameters:
offset
- the beginning offset of the subset of elements to evaluatelength
- the number of elements to evaluate- Returns:
- a reference to the builder, never
null
-
setExpressionUuid
public EvaluationRequest.EvaluationRequestBuilder setExpressionUuid(UUID expressionUuid)
Sets the UUID of the root expression.- Parameters:
expressionUuid
- the UUID of the root expression, cannot benull
- Returns:
- a reference to the builder, never
null
-
setEvaluationListener
public EvaluationRequest.EvaluationRequestBuilder setEvaluationListener(IEvaluationListener evaluationListener)
Sets the listener to report result to when expression will be evaluated.- Parameters:
evaluationListener
- the listener to report result to when expression will be evaluated, cannot benull
- Returns:
- a reference to the builder, never
null
-
build
public IEvaluationRequest build()
Builds the request.- Returns:
- the builded request
-
-