public class LoadTargetDefinitionJob extends WorkspaceJob
| Constructor and Description |
|---|
LoadTargetDefinitionJob(ITargetDefinition target)
Constructs a new operation to load the specified target definition
as the current target platform.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
belongsTo(Object family) |
static void |
load(ITargetDefinition target)
Constructs a new operation to load the specified target definition
as the current target platform.
|
static void |
load(ITargetDefinition target,
IJobChangeListener listener)
Constructs a new operation to load the specified target definition
as the current target platform.
|
IStatus |
runInWorkspace(IProgressMonitor monitor) |
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, yieldRulegetAdapterclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdapterpublic LoadTargetDefinitionJob(ITargetDefinition target)
null is specified
the target platform is empty and all other settings are default.
Clients should use load(ITargetDefinition, IJobChangeListener) instead to ensure
any existing jobs are cancelled.
target - target definition or null if nonepublic static void load(ITargetDefinition target)
null is specified
the target platform is empty and all other settings are default. This
method will cancel all existing LoadTargetDefinitionJob instances then
schedules the operation as a user job.target - target definition or null if nonepublic static void load(ITargetDefinition target, IJobChangeListener listener)
null is specified
the target platform is empty and all other settings are default. This
method will cancel all existing LoadTargetDefinitionJob instances then
schedules the operation as a user job. Adds the given listener to the
job that is started.target - target definition or null if nonelistener - job change listener that will be added to the created jobpublic IStatus runInWorkspace(IProgressMonitor monitor) throws CoreException
runInWorkspace in class WorkspaceJobCoreException
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.