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

public class DelegatingJob extends EnterpriseDomainJob
  • 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 interface Worker
      Specified by:
      work in class EnterpriseDomainJob
      Throws:
      org.eclipse.core.runtime.CoreException
    • setResultStage

      public void setResultStage(Stage resultStage)
    • getResultStage

      public Stage getResultStage()
      Description copied from class: EnterpriseDomainJob
      Returns a stage in which contribution state remains after execution of this job.
      Specified by:
      getResultStage in class EnterpriseDomainJob
      Returns:
      job stage
    • setDirtyStage

      public void setDirtyStage(Stage dirtyStage)
    • getDirtyStage

      public Stage getDirtyStage()
      Description copied from class: EnterpriseDomainJob
      Returns an earliest stage that becomes dirty after execution of this job.
      Specified by:
      getDirtyStage in class EnterpriseDomainJob
      Returns:
      dirty stage