Package net.ontopia.topicmaps.db2tm
Class SynchronizationTask
- java.lang.Object
-
- java.util.TimerTask
-
- net.ontopia.topicmaps.db2tm.SynchronizationTask
-
-
Field Summary
Fields Modifier and Type Field Description protected LocatorIFbaselocprotected static Map<String,Date>lastExecutionsprotected Stringnameprotected TopicMapReferenceIFrefprotected Collection<String>relnamesprotected Stringrmappingfileprotected Timertimer
-
Constructor Summary
Constructors Constructor Description SynchronizationTask(String name, long delay, long interval)SynchronizationTask(String name, Date startTime, long interval)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DategetLastExecution(String taskname)voidrun()voidsetBaseLocator(LocatorIF baseloc)voidsetRelationMappingFile(String rmappingfile)voidsetRelationNames(Collection<String> relnames)voidsetTopicMapReference(TopicMapReferenceIF ref)voidstop()-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Field Detail
-
name
protected final String name
-
rmappingfile
protected String rmappingfile
-
relnames
protected Collection<String> relnames
-
ref
protected TopicMapReferenceIF ref
-
baseloc
protected LocatorIF baseloc
-
timer
protected final Timer timer
-
-
Method Detail
-
setRelationMappingFile
public void setRelationMappingFile(String rmappingfile)
-
setRelationNames
public void setRelationNames(Collection<String> relnames)
-
setTopicMapReference
public void setTopicMapReference(TopicMapReferenceIF ref)
-
setBaseLocator
public void setBaseLocator(LocatorIF baseloc)
-
stop
public void stop()
-
-