Class EcoreGenerator
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
org.enterprisedomain.classmaker.jobs.EnterpriseDomainJob
org.enterprisedomain.classmaker.jobs.codegen.EcoreGenerator
- All Implemented Interfaces:
Comparable<org.eclipse.core.internal.jobs.InternalJob>,org.eclipse.core.runtime.IAdaptable,Worker
- Direct Known Subclasses:
CDOGenerator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassNested classes/interfaces inherited from class org.enterprisedomain.classmaker.jobs.EnterpriseDomainJob
EnterpriseDomainJob.JobProgressProvider -
Field Summary
FieldsFields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an earliest stage that becomes dirty after execution of this job.org.eclipse.core.runtime.IPathgetGenModelResourcePath(org.eclipse.core.runtime.IPath path) Returns a stage in which contribution state remains after execution of this job.org.eclipse.core.runtime.IStatuswork(org.eclipse.core.runtime.IProgressMonitor monitor) Methods inherited from class org.enterprisedomain.classmaker.jobs.EnterpriseDomainJob
addListener, belongsTo, getAdapter, getAfterJob, getBuildKind, getContributionState, getJob, getJobs, getNextJob, getProject, getProperties, getResourceSet, getStateTimestamp, hasErrors, isChangeRule, isCommitState, isExclusive, joinJob, joinManualBuild, removeListener, runInWorkspace, setAfterJob, setBuildKind, setChangeRule, setCommitState, setContributionState, setExclusive, setNextJob, setProgressProvider, setProject, setResourceSet, setStateTimestampMethods inherited from class org.eclipse.core.internal.resources.InternalWorkspaceJob
runMethods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, cancel, 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, yieldRuleMethods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareToMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.enterprisedomain.classmaker.jobs.Worker
getProperties
-
Field Details
-
GENMODEL_EXT
- See Also:
-
-
Constructor Details
-
EcoreGenerator
public EcoreGenerator(int depth, long stateTimestamp)
-
-
Method Details
-
work
public org.eclipse.core.runtime.IStatus work(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
workin interfaceWorker- Specified by:
workin classEnterpriseDomainJob- Throws:
org.eclipse.core.runtime.CoreException
-
getGenModelResourcePath
public org.eclipse.core.runtime.IPath getGenModelResourcePath(org.eclipse.core.runtime.IPath path) -
getResultStage
Description copied from class:EnterpriseDomainJobReturns a stage in which contribution state remains after execution of this job.- Specified by:
getResultStagein classEnterpriseDomainJob- Returns:
- job stage
-
getDirtyStage
Description copied from class:EnterpriseDomainJobReturns an earliest stage that becomes dirty after execution of this job.- Specified by:
getDirtyStagein classEnterpriseDomainJob- Returns:
- dirty stage
-