Package com._1c.g5.v8.dt.core.lifecycle
Class ProjectRestartJob
- 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
-
- com._1c.g5.v8.dt.core.lifecycle.ProjectRestartJob
-
- All Implemented Interfaces:
Comparable
,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
SafeProjectRestartJob
public class ProjectRestartJob extends ServiceLifecycleJob
Job to stop and re-start project service lifecycle.
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<IDtProject>
projects
DT project to restart.-
Fields inherited from class com._1c.g5.v8.dt.core.lifecycle.ServiceLifecycleJob
FAMILY
-
-
Constructor Summary
Constructors Constructor Description ProjectRestartJob(IDtProject project)
Creates an instance ofProjectRestartJob
.ProjectRestartJob(Collection<IDtProject> projects)
Creates an instance ofProjectRestartJob
.
-
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 com._1c.g5.v8.dt.core.lifecycle.ServiceLifecycleJob
belongsTo
-
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
-
-
-
-
Field Detail
-
projects
protected final Collection<IDtProject> projects
DT project to restart.
-
-
Constructor Detail
-
ProjectRestartJob
public ProjectRestartJob(IDtProject project)
Creates an instance ofProjectRestartJob
.- Parameters:
project
- the project, cannot benull
-
ProjectRestartJob
public ProjectRestartJob(Collection<IDtProject> projects)
Creates an instance ofProjectRestartJob
.- Parameters:
projects
- The set of projects to restart. May not benull
-
-