Class AbstractResourceUpdateJob

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
com._1c.g5.v8.dt.internal.migration.scenario.AbstractResourceUpdateJob
All Implemented Interfaces:
Comparable<org.eclipse.core.internal.jobs.InternalJob>, org.eclipse.core.runtime.IAdaptable

public abstract class AbstractResourceUpdateJob extends org.eclipse.core.resources.WorkspaceJob
Abstract implementation of the resource update job for the migration mechanism.
  • Field Summary

    Fields inherited from class org.eclipse.core.runtime.jobs.Job

    ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING

    Fields inherited from class org.eclipse.core.internal.jobs.InternalJob

    manager
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractResourceUpdateJob(org.eclipse.core.resources.IProject project)
    Creates new job for the specified project.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    belongsTo(Object family)
     
    protected abstract void
    doResourceUpdates(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
    Performs resource updates within the resource update job context.
    org.eclipse.core.runtime.IStatus
    runInWorkspace(org.eclipse.core.runtime.IProgressMonitor monitor)
     

    Methods inherited from class org.eclipse.core.internal.resources.InternalWorkspaceJob

    run

    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

    Methods inherited from class org.eclipse.core.internal.jobs.InternalJob

    compareTo

    Methods inherited from class org.eclipse.core.runtime.PlatformObject

    getAdapter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AbstractResourceUpdateJob

      public AbstractResourceUpdateJob(org.eclipse.core.resources.IProject project)
      Creates new job for the specified project.
      Parameters:
      project - The project to update resource for. Cannot be null
  • Method Details

    • belongsTo

      public boolean belongsTo(Object family)
      Overrides:
      belongsTo in class org.eclipse.core.runtime.jobs.Job
    • runInWorkspace

      public org.eclipse.core.runtime.IStatus runInWorkspace(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Specified by:
      runInWorkspace in class org.eclipse.core.resources.WorkspaceJob
      Throws:
      org.eclipse.core.runtime.CoreException
    • doResourceUpdates

      protected abstract void doResourceUpdates(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
      Performs resource updates within the resource update job context.
      Parameters:
      project - The project to update resources for. Cannot be null
      monitor - The current progress monitor. Cannot be null