Class RuntimeEvaluationRequest
- java.lang.Object
-
- com._1c.g5.v8.dt.debug.core.runtime.client.RuntimeEvaluationRequest
-
public final class RuntimeEvaluationRequest extends Object
Contains evaluation request description for the 1C:Enterprise runtime debug server. Runtime evaluation requests are immutable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuntimeEvaluationRequest.RuntimeEvaluationPage
The evaluation page for BSL collections evaliation.static class
RuntimeEvaluationRequest.RuntimeEvaluationRequestBuilder
Builder of the evaluation request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuntimeEvaluationRequest.RuntimeEvaluationRequestBuilder
builder(BslValuePath expressionPath)
Creates a new builder ofRuntimeEvaluationRequest
.Optional<RuntimeEvaluationRequest.RuntimeEvaluationPage>
getEvaluationPage()
Returns evaluation page for BSL collections evaliationUUID
getEvaluationUuid()
Returns the evaluation UUIDBslValuePath
getExpressionPath()
Returns the BSL expression path.UUID
getExpressionUuid()
Returns the UUID of the root expression.List<ViewInterface>
getInterfaces()
Returns the value interfaces to evaluate expresion for.int
getMaxSize()
Returns the value maximum text representation size.int
getStackLevel()
Returns the stack level of the evaluation.boolean
isMultiLine()
Returns whether text result may contain multiple lines.
-
-
-
Method Detail
-
builder
public static RuntimeEvaluationRequest.RuntimeEvaluationRequestBuilder builder(BslValuePath expressionPath)
Creates a new builder ofRuntimeEvaluationRequest
.- Parameters:
expressionPath
- the BSL value path to evaluate, cannot benull
-
getExpressionPath
public BslValuePath getExpressionPath()
Returns the BSL expression path.- Returns:
- the BSL expression path, never
null
-
getStackLevel
public int getStackLevel()
Returns the stack level of the evaluation.- Returns:
- the stack level of the evaluation
-
getInterfaces
public List<ViewInterface> getInterfaces()
Returns the value interfaces to evaluate expresion for. First matching interface will be used for evaluation.- Returns:
- the value interfaces to evaluate expresion for, never
null
-
getMaxSize
public int getMaxSize()
Returns the value maximum text representation size. May be0
for unlimited and full representation.- Returns:
- the value maximum text representation size or
0
for unlimited and full representation.
-
isMultiLine
public boolean isMultiLine()
Returns whether text result may contain multiple lines. Iffalse
then miltiple line text will be cut at first line break.- Returns:
- whether text result may contain multiple lines. If
false
then miltiple line text will be cut at first line break
-
getExpressionUuid
public UUID getExpressionUuid()
Returns the UUID of the root expression.- Returns:
- the UUID of the root expression, never
null
-
getEvaluationUuid
public UUID getEvaluationUuid()
Returns the evaluation UUID- Returns:
- the UUID of the evaluation, never
null
-
getEvaluationPage
public Optional<RuntimeEvaluationRequest.RuntimeEvaluationPage> getEvaluationPage()
Returns evaluation page for BSL collections evaliation- Returns:
- the evaluation page for BSL collections evaliation
-
-