Class ProjectRestartJob

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

    public class ProjectRestartJob
    extends ServiceLifecycleJob
    Job to stop and re-start project service lifecycle.
    • 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
      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
      • Methods inherited from class org.eclipse.core.internal.jobs.InternalJob

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

        getAdapter
    • Constructor Detail

      • ProjectRestartJob

        public ProjectRestartJob​(IDtProject project,
                                 ProjectStopType stopType,
                                 ProjectStartType startType)
        Creates an instance of ProjectRestartJob.
        Parameters:
        project - the project, cannot be null
        stopType - the stop context type for the project, cannot be null
        stopType - the start context type for the project, cannot be null
    • Method Detail

      • 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