Class ServiceLifecycleJob

  • All Implemented Interfaces:
    Comparable, org.eclipse.core.runtime.IAdaptable
    Direct Known Subclasses:
    ProjectRestartJob, ProjectStopJob

    public abstract class ServiceLifecycleJob
    extends org.eclipse.core.runtime.jobs.Job
    Abstract implementation of the service lifecycle changing job. All service lifecycle jobs belong to the same family to guarantee sequential execution.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String FAMILY  
      • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceLifecycleJob​(String name)
      Constructs an instance of the ServiceLifecycleJob descendant class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean belongsTo​(Object family)  
      • 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, run, 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 interface org.eclipse.core.runtime.IAdaptable

        getAdapter
    • Constructor Detail

      • ServiceLifecycleJob

        public ServiceLifecycleJob​(String name)
        Constructs an instance of the ServiceLifecycleJob descendant class.
        Parameters:
        name - The name of the job. Cannot be null.
    • Method Detail

      • belongsTo

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