Class 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, using IEvaluationEngine.

    Clients may use for convenience.

    • Field Summary

      • Fields inherited from class org.eclipse.core.runtime.jobs.Job

        ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
      • Fields inherited from class org.eclipse.core.internal.jobs.InternalJob

        manager
    • 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
      • Methods inherited from class org.eclipse.core.internal.jobs.InternalJob

        compareTo
      • Methods inherited from class org.eclipse.core.runtime.PlatformObject

        getAdapter
    • Constructor Detail

      • EvaluationJob

        public EvaluationJob​(IBslStackFrame stackFrame,
                             UUID expressionUuid,
                             BslValuePath path,
                             ViewInterface evaluationInterface,
                             IEvaluationListener evaluationListener)
        Creates EvaluationJob to evaluate the provided expression.
        Parameters:
        stackFrame - the stack frame, that contains evaluating expression, cannot be null
        expressionUuid - the UUID of the root expression, cannot be null
        path - the BSL value path (see BslValuePath), cannot be null
        evaluationInterface - the value interfaces to evaluate value with, cannot be null
        evaluationListener - the listener to report result to, when expression will be evaluated, cannot be null
      • EvaluationJob

        public EvaluationJob​(IEvaluationRequest request)
        Creates EvaluationJob to evaluate the provided request.
        Parameters:
        request - the evaluation request to evalue, cannot be null
      • EvaluationJob

        public EvaluationJob​(IBslStackFrame stackFrame,
                             IEvaluationChain chain)
        Creates EvaluationJob to evaluate given provided request chain.
        Parameters:
        stackFrame - the BSL stack frame to use for evaluation, cannot be null
        chain - the evaluation chain to evalue, cannot be null
      • EvaluationJob

        public EvaluationJob​(IBslStackFrame stackFrame,
                             IEvaluationListener evaluationListener)
        Creates EvaluationJob to evaluate the provided BSL stack frame local variables.
        Parameters:
        stackFrame - the BSL stack frame to use for evaluation, cannot be null
        evaluationListener - the listener to report result to, when variables will be evaluated, cannot be null
    • Method Detail

      • belongsTo

        public boolean belongsTo​(Object family)
        Overrides:
        belongsTo in class org.eclipse.core.runtime.jobs.Job
      • run

        protected org.eclipse.core.runtime.IStatus run​(org.eclipse.core.runtime.IProgressMonitor monitor)
        Specified by:
        run in class org.eclipse.core.runtime.jobs.Job