Class ApplicationDistributorJob

java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
com.iizigo.app.ApplicationDistributorJob
All Implemented Interfaces:
Comparable<org.eclipse.core.internal.jobs.InternalJob>, 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
    Constructor
    Description
    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

    Modifier and Type
    Method
    Description
    boolean
    belongsTo(Object family)
    Same family as MANUAL_BUILD jobs, this will "trigger SyncState" causing stability for changes, i.e.
    protected org.eclipse.core.runtime.IStatus
    run(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 Details

    • 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 - The distribution file ".iiziApp" of the project to distribute.
      dist - The distribution properties.
      isVerbose - The verbose output flag.
  • Method Details

    • 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(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