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
Modifier and TypeClassDescriptionclass
class
Nested classes/interfaces inherited from class org.enterprisedomain.classmaker.jobs.EnterpriseDomainJob
EnterpriseDomainJob.JobProgressProvider
-
Field Summary
Fields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns an earliest stage that becomes dirty after execution of this job.org.eclipse.core.runtime.IPath
getGenModelResourcePath
(org.eclipse.core.runtime.IPath path) Returns a stage in which contribution state remains after execution of this job.org.eclipse.core.runtime.IStatus
work
(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, setStateTimestamp
Methods inherited from class org.eclipse.core.internal.resources.InternalWorkspaceJob
run
Methods 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, yieldRule
Methods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareTo
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods 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:
work
in interfaceWorker
- Specified by:
work
in 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:EnterpriseDomainJob
Returns a stage in which contribution state remains after execution of this job.- Specified by:
getResultStage
in classEnterpriseDomainJob
- Returns:
- job stage
-
getDirtyStage
Description copied from class:EnterpriseDomainJob
Returns an earliest stage that becomes dirty after execution of this job.- Specified by:
getDirtyStage
in classEnterpriseDomainJob
- Returns:
- dirty stage
-