Class EditorRuntimeBuilderJob

  • All Implemented Interfaces:
    java.lang.Comparable, org.eclipse.core.runtime.IAdaptable

    public class EditorRuntimeBuilderJob
    extends org.eclipse.core.runtime.jobs.Job
    The Eclipse Job to create an iiziRun for an app.
    Author:
    Christopher Mindus
    • 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​(java.lang.Object family)
      Same family as MANUAL_BUILD jobs, this will "trigger SyncState" causing stability for changes, i.e.
      protected org.eclipse.core.runtime.IStatus run​(org.eclipse.core.runtime.IProgressMonitor monitor)
      Runs the job.
      • 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
      • Methods inherited from class org.eclipse.core.internal.jobs.InternalJob

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

        getAdapter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EditorRuntimeBuilderJob

        public EditorRuntimeBuilderJob​(org.eclipse.core.resources.IProject project,
                                       RuntimeBuilderSettings settings,
                                       IRuntimeBuilder runtimeBuilder)
        Creates the Job for a the iiziRun builder and sets the Build Rule.
        Parameters:
        project - The project.
        settings - The settings.
        runtimeBuilder - The runtime builder implementation.
    • Method Detail

      • run

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

        public boolean belongsTo​(java.lang.Object family)
        Same family as MANUAL_BUILD jobs, this will "trigger SyncState" causing stability for changes, i.e. restrictions or held user operations (refactor, etc).
        Overrides:
        belongsTo in class org.eclipse.core.runtime.jobs.Job