Class DelegatingJob
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.core.internal.resources.InternalWorkspaceJob
org.eclipse.core.resources.WorkspaceJob
org.enterprisedomain.classmaker.jobs.EnterpriseDomainJob
org.enterprisedomain.classmaker.jobs.DelegatingJob
- All Implemented Interfaces:
Comparable<org.eclipse.core.internal.jobs.InternalJob>
,org.eclipse.core.runtime.IAdaptable
,Worker
-
Nested Class Summary
Nested classes/interfaces inherited from class org.enterprisedomain.classmaker.jobs.EnterpriseDomainJob
EnterpriseDomainJob.JobProgressProvider
-
Field Summary
Fields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
-
Constructor Summary
ConstructorDescriptionDelegatingJob
(org.eclipse.core.runtime.jobs.Job delegate, int depth, long stateTimestamp) -
Method Summary
Modifier and TypeMethodDescriptionReturns an earliest stage that becomes dirty after execution of this job.Returns a stage in which contribution state remains after execution of this job.void
setDirtyStage
(Stage dirtyStage) void
setResultStage
(Stage resultStage) org.eclipse.core.runtime.IStatus
work
(org.eclipse.core.runtime.IProgressMonitor monitor) Methods inherited from class org.enterprisedomain.classmaker.jobs.EnterpriseDomainJob
addListener, belongsTo, getAdapter, getAfterJob, getBuildKind, getContributionState, getJob, getJobs, getNextJob, getProject, getProperties, getResourceSet, getStateTimestamp, hasErrors, isChangeRule, isCommitState, isExclusive, joinJob, joinManualBuild, removeListener, runInWorkspace, setAfterJob, setBuildKind, setChangeRule, setCommitState, setContributionState, setExclusive, setNextJob, setProgressProvider, setProject, setResourceSet, setStateTimestamp
Methods inherited from class org.eclipse.core.internal.resources.InternalWorkspaceJob
run
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, cancel, 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
Methods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareTo
-
Constructor Details
-
DelegatingJob
public DelegatingJob(org.eclipse.core.runtime.jobs.Job delegate, int depth, long stateTimestamp)
-
-
Method Details
-
work
public org.eclipse.core.runtime.IStatus work(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
work
in interfaceWorker
- Specified by:
work
in classEnterpriseDomainJob
- Throws:
org.eclipse.core.runtime.CoreException
-
setResultStage
-
getResultStage
Description copied from class:EnterpriseDomainJob
Returns a stage in which contribution state remains after execution of this job.- Specified by:
getResultStage
in classEnterpriseDomainJob
- Returns:
- job stage
-
setDirtyStage
-
getDirtyStage
Description copied from class:EnterpriseDomainJob
Returns an earliest stage that becomes dirty after execution of this job.- Specified by:
getDirtyStage
in classEnterpriseDomainJob
- Returns:
- dirty stage
-