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 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(IBslStackFrame stackFrame, IEvaluationChain chain)
CreateEvaluationJob
to evaluate given evaluation requests.EvaluationJob(IBslStackFrame stackFrame, IEvaluationListener evaluationListener)
CreateEvaluationJob
to evaluate the given stack frame variables.EvaluationJob(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, int maxTextSize, boolean isMultiLine, IEvaluationListener evaluationListener)
CreateEvaluationJob
to evaluate the given expression.EvaluationJob(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, IEvaluationListener evaluationListener)
CreateEvaluationJob
to evaluate the given expression.EvaluationJob(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, List<ViewInterface> evaluationInterfaces, int maxTextSize, boolean isMultiLine, IEvaluationListener evaluationListener)
CreateEvaluationJob
to evaluate the given expression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
belongsTo(Object family)
protected IEvaluationEngine
getEngine()
Returns evaluation engine.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, 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)
CreateEvaluationJob
to evaluate the given 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(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, ViewInterface evaluationInterface, int maxTextSize, boolean isMultiLine, IEvaluationListener evaluationListener)
CreateEvaluationJob
to evaluate the given 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
maxTextSize
- 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
-
EvaluationJob
public EvaluationJob(IBslStackFrame stackFrame, UUID expressionUuid, BslValuePath path, List<ViewInterface> evaluationInterfaces, int maxTextSize, boolean isMultiLine, IEvaluationListener evaluationListener)
CreateEvaluationJob
to evaluate the given 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
evaluationInterfaces
- the value interfaces to evaluate value with, first matching interface will be used for evaluation, cannot benull
maxTextSize
- 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
-
EvaluationJob
public EvaluationJob(IBslStackFrame stackFrame, IEvaluationChain chain)
CreateEvaluationJob
to evaluate given evaluation requests.- Parameters:
stackFrame
- the BSL stack frame to use for evaluation, cannot benull
requests
- request to evaluate, cannot benull
-
EvaluationJob
public EvaluationJob(IBslStackFrame stackFrame, IEvaluationListener evaluationListener)
CreateEvaluationJob
to evaluate the given stack frame 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
-
getEngine
protected IEvaluationEngine getEngine()
Returns evaluation engine.- Returns:
- evaluation engine, never
null
-
-