Class ApplicationDistributorJob

  • All Implemented Interfaces:
    java.lang.Comparable, org.eclipse.core.runtime.IAdaptable

    public class ApplicationDistributorJob
    extends org.eclipse.core.runtime.jobs.Job
    The Eclipse Job to create an Application Distribution.
    Author:
    Christopher Mindus
    • 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 
      ConstructorDescription
      ApplicationDistributorJob​(org.eclipse.core.resources.IFile distributionPropFile, AppDistributionProps dist, boolean isVerbose)
      Creates the Job for a the distribution and sets the Build Rule.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleanbelongsTo​(java.lang.Object family)
      Same family as MANUAL_BUILD jobs, this will "trigger SyncState" causing stability for changes, i.e.
      protected org.eclipse.core.runtime.IStatusrun​(org.eclipse.core.runtime.IProgressMonitor monitor)
      Runs the job.
      • 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 Detail

      • ApplicationDistributorJob

        public ApplicationDistributorJob​(org.eclipse.core.resources.IFile distributionPropFile,
                                         AppDistributionProps dist,
                                         boolean isVerbose)
        Creates the Job for a the distribution and sets the Build Rule.
        Parameters:
        distributionPropFile -
    • Method Detail

      • run

        protected org.eclipse.core.runtime.IStatus run​(org.eclipse.core.runtime.IProgressMonitor monitor)
        Runs the job.
        Specified by:
        run in class org.eclipse.core.runtime.jobs.Job
      • belongsTo

        public boolean belongsTo​(java.lang.Object family)
        Same family as MANUAL_BUILD jobs, this will "trigger SyncState" causing stability for changes, i.e. restrictions or held user operations (refactor, etc).
        Overrides:
        belongsTo in class org.eclipse.core.runtime.jobs.Job