Package com.iizigo.app
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:
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
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
belongsTo(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.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
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 classorg.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 classorg.eclipse.core.runtime.jobs.Job