Package com._1c.g5.v8.dt.core.lifecycle
Class ServiceLifecycleJob
- 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.core.lifecycle.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.
-
-
Constructor Summary
Constructors Constructor Description ServiceLifecycleJob(String name)
Constructs an instance of theServiceLifecycleJob
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
-
-
-
-
Field Detail
-
FAMILY
public static final String FAMILY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServiceLifecycleJob
public ServiceLifecycleJob(String name)
Constructs an instance of theServiceLifecycleJob
descendant class.- Parameters:
name
- The name of the job. Cannot benull
.
-
-
Method Detail
-
belongsTo
public boolean belongsTo(Object family)
- Overrides:
belongsTo
in classorg.eclipse.core.runtime.jobs.Job
-
-