Package com.iizigo.run
Class EditorRuntimeBuilderJob
- java.lang.Object
- org.eclipse.core.runtime.PlatformObject
- org.eclipse.core.internal.jobs.InternalJob
- org.eclipse.core.runtime.jobs.Job
- com.iizigo.run.EditorRuntimeBuilderJob
- All Implemented Interfaces:
java.lang.Comparable
,org.eclipse.core.runtime.IAdaptable
public class EditorRuntimeBuilderJob extends org.eclipse.core.runtime.jobs.Job
The Eclipse Job to create an iiziRun for an app.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description EditorRuntimeBuilderJob(org.eclipse.core.resources.IProject project, RuntimeBuilderSettings settings, IRuntimeBuilder runtimeBuilder)
Creates the Job for a the iiziRun builder 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, 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
EditorRuntimeBuilderJob
public EditorRuntimeBuilderJob(org.eclipse.core.resources.IProject project, RuntimeBuilderSettings settings, IRuntimeBuilder runtimeBuilder)
Creates the Job for a the iiziRun builder and sets the Build Rule.- Parameters:
project
- The project.settings
- The settings.runtimeBuilder
- The runtime builder implementation.
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