Class EvaluationJob
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.core.internal.jobs.InternalJob
-
- org.eclipse.core.runtime.jobs.Job
-
- com._1c.g5.v8.dt.debug.core.model.evaluation.EvaluationJob
-
- All Implemented Interfaces:
Comparable
,org.eclipse.core.runtime.IAdaptable
public final class EvaluationJob extends org.eclipse.core.runtime.jobs.Job
Debug evaluation job. Performs evaluation of expressions or variables, usingIEvaluationEngine
.Clients may use for convenience.
-
-
Constructor Summary
Constructors Constructor Description EvaluationJob(IEvaluationRequest request)
CreatesEvaluationJob
to evaluate the provided request.EvaluationJob(IBslStackFrame stackFrame, IEvaluationChain chain)
CreatesEvaluationJob
to evaluate given provided request chain.EvaluationJob(IBslStackFrame stackFrame, IEvaluationListener evaluationListener)
CreatesEvaluationJob
to evaluate the provided BSL stack frame local variables.EvaluationJob(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, IEvaluationListener evaluationListener)
CreatesEvaluationJob
to evaluate the provided expression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
belongsTo(Object family)
protected org.eclipse.core.runtime.IStatus
run(org.eclipse.core.runtime.IProgressMonitor monitor)
-
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, cancel, canceling, create, create, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
-
-
-
-
Constructor Detail
-
EvaluationJob
public EvaluationJob(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, IEvaluationListener evaluationListener)
CreatesEvaluationJob
to evaluate the provided expression.- 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
evaluationInterface
- the value interfaces to evaluate value with, cannot benull
evaluationListener
- the listener to report result to, when expression will be evaluated, cannot benull
-
EvaluationJob
public EvaluationJob(IEvaluationRequest request)
CreatesEvaluationJob
to evaluate the provided request.- Parameters:
request
- the evaluation request to evalue, cannot benull
-
EvaluationJob
public EvaluationJob(IBslStackFrame stackFrame, IEvaluationChain chain)
CreatesEvaluationJob
to evaluate given provided request chain.- Parameters:
stackFrame
- the BSL stack frame to use for evaluation, cannot benull
chain
- the evaluation chain to evalue, cannot benull
-
EvaluationJob
public EvaluationJob(IBslStackFrame stackFrame, IEvaluationListener evaluationListener)
CreatesEvaluationJob
to evaluate the provided BSL stack frame local variables.- Parameters:
stackFrame
- the BSL stack frame to use for evaluation, cannot benull
evaluationListener
- the listener to report result to, when variables will be evaluated, cannot benull
-
-
Method Detail
-
belongsTo
public boolean belongsTo(Object family)
- Overrides:
belongsTo
in classorg.eclipse.core.runtime.jobs.Job
-
run
protected org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
run
in classorg.eclipse.core.runtime.jobs.Job
-
-