|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
eu.esdihumboldt.hale.common.instance.orient.storage.StoreInstancesJob
eu.esdihumboldt.hale.ui.service.instance.internal.orient.HaleStoreInstancesJob
public abstract class HaleStoreInstancesJob
Store instances in a database
Field Summary |
---|
Fields inherited from class eu.esdihumboldt.hale.common.instance.orient.storage.StoreInstancesJob |
---|
report |
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 | |
---|---|
HaleStoreInstancesJob(String name,
LocalOrientDB database,
InstanceCollection instances)
Create a job that stores instances in a database |
Method Summary | |
---|---|
protected void |
processInstance(Instance instance)
Process an instance before it is saved. |
protected void |
updateInstance(MutableInstance instance)
Update an instance before it is converted and saved, e.g. |
Methods inherited from class eu.esdihumboldt.hale.common.instance.orient.storage.StoreInstancesJob |
---|
onComplete, run |
Methods inherited from class org.eclipse.core.runtime.jobs.Job |
---|
addJobChangeListener, belongsTo, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, 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 |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Constructor Detail |
---|
public HaleStoreInstancesJob(String name, LocalOrientDB database, InstanceCollection instances)
name
- the (human readable) job nameinstances
- the instances to store in the databasedatabase
- the databaseMethod Detail |
---|
protected void updateInstance(MutableInstance instance)
StoreInstancesJob
updateInstance
in class StoreInstancesJob
instance
- the instanceStoreInstancesJob.updateInstance(MutableInstance)
protected void processInstance(Instance instance)
StoreInstancesJob
processInstance
in class StoreInstancesJob
instance
- the instance, may not be changed in any wayStoreInstancesJob.processInstance(Instance)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |