Class EvaluationChain
- java.lang.Object
-
- com._1c.g5.v8.dt.debug.core.model.evaluation.EvaluationChain
-
- All Implemented Interfaces:
IEvaluationChain
public class EvaluationChain extends Object implements IEvaluationChain
Implementation ofIEvaluationChain
.
-
-
Constructor Summary
Constructors Constructor Description EvaluationChain(IBslStackFrame stackFrame, IEvaluationRequest... requests)
Constructor ofEvaluationChain
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEvaluationChain
combine(IEvaluationChain... chains)
Combine this evaluation chain with given possibly-null
evaluation chains.IEvaluationChain
combine(IEvaluationRequest... requests)
Combine this evaluation chain with given possibly-null
evaluation requests.IBslStackFrame
getStackFrame()
Returns BSL stack frame this evaluation chain belongs to.int
size()
Returns size of the evaluation chain: number of requests to perform this evaluation chain.IEvaluationRequest[]
toRequests()
Returns evaluation requests to perform this entire evaluation chain.
-
-
-
Constructor Detail
-
EvaluationChain
public EvaluationChain(IBslStackFrame stackFrame, IEvaluationRequest... requests)
Constructor ofEvaluationChain
.- Parameters:
stackFrame
- the BSL stack frame to perform re-evaluation on, cannot benull
requests
- the root evaluation requests, cannot benull
-
-
Method Detail
-
combine
public IEvaluationChain combine(IEvaluationRequest... requests)
Description copied from interface:IEvaluationChain
Combine this evaluation chain with given possibly-null
evaluation requests. Resulting evaluation chain requests will contain all given evaluationrequests
.Order of the result evaluation chain requests will be:
- This evaluation chain requests.
- All merged evaluation requests in the same order as in method invocation.
- Specified by:
combine
in interfaceIEvaluationChain
- Parameters:
requests
- evaliation requests to combine this evaluation chain with, can benull
or containnull
s, then these evaluation requests will be ignored during combining- Returns:
- a reference to this evaluation chain to provide an ability to construct fluent queries, never
null
-
combine
public IEvaluationChain combine(IEvaluationChain... chains)
Description copied from interface:IEvaluationChain
Combine this evaluation chain with given possibly-null
evaluation chains. Resulting evaluation chain requests will contain all given evaluationchains
evaluation requests.Order of the result evaluation chain requests will be:
- This evaluation chain requests.
- All merged evaluation chains requests in the same order as in method invocation.
- Specified by:
combine
in interfaceIEvaluationChain
- Parameters:
chains
- evaliation chains to combine this evaluation chain with, can benull
or containnull
s, then these evaluation chains will be ignored during combining- Returns:
- a reference to this evaluation chain to provide an ability to construct fluent queries, never
null
-
getStackFrame
public IBslStackFrame getStackFrame()
Description copied from interface:IEvaluationChain
Returns BSL stack frame this evaluation chain belongs to.- Specified by:
getStackFrame
in interfaceIEvaluationChain
- Returns:
- BSL stack frame this evaluation chain belongs to, never
null
-
size
public int size()
Description copied from interface:IEvaluationChain
Returns size of the evaluation chain: number of requests to perform this evaluation chain.- Specified by:
size
in interfaceIEvaluationChain
- Returns:
- size of the evaluation chain number of requests to perform this evaluation chain
-
toRequests
public IEvaluationRequest[] toRequests()
Description copied from interface:IEvaluationChain
Returns evaluation requests to perform this entire evaluation chain.- Specified by:
toRequests
in interfaceIEvaluationChain
- Returns:
- evaluation requests to perform this entire evaluation chain, never
null
or empty
-
-