|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.intermine.dataloader.ObjectStoreDataLoaderTask
public class ObjectStoreDataLoaderTask
Uses an IntegrationWriter to load data from another ObjectStore.
| Field Summary | |
|---|---|
protected java.lang.String |
allSources
|
protected boolean |
ignoreDuplicates
|
protected java.lang.String |
integrationWriter
|
protected java.lang.String |
queryClass
|
protected java.lang.String |
source
|
protected java.lang.String |
sourceName
|
protected java.lang.String |
sourceType
|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
ObjectStoreDataLoaderTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
void |
setAllSources(java.lang.String allSources)
Set the list of data sources present in the project.xml, for the purposes of verifying the priorities properties file. |
void |
setIgnoreDuplicates(boolean ignoreDuplicates)
Set the value of ignoreDuplicates for the IntegrationWriter. |
void |
setIntegrationWriter(java.lang.String integrationWriter)
Set the IntegrationWriter. |
void |
setQueryClass(java.lang.String queryClass)
If the name of a class is set will only load objects of that type. |
void |
setSource(java.lang.String source)
Set the ObjectStore that is the data source. |
void |
setSourceName(java.lang.String sourceName)
Set the source name, as used by primary key priority config. |
void |
setSourceType(java.lang.String sourceType)
Set the source type, as used by primary key priority config. |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String integrationWriter
protected java.lang.String source
protected java.lang.String sourceName
protected java.lang.String sourceType
protected boolean ignoreDuplicates
protected java.lang.String queryClass
protected java.lang.String allSources
| Constructor Detail |
|---|
public ObjectStoreDataLoaderTask()
| Method Detail |
|---|
public void setIntegrationWriter(java.lang.String integrationWriter)
integrationWriter - the name of the IntegrationWriterpublic void setSource(java.lang.String source)
source - the name of the objectstore that is the sourcepublic void setSourceName(java.lang.String sourceName)
sourceName - the name of the data sourcepublic void setSourceType(java.lang.String sourceType)
sourceType - the name of the data sourcepublic void setIgnoreDuplicates(boolean ignoreDuplicates)
ignoreDuplicates - the value of ignoreDuplicatespublic void setQueryClass(java.lang.String queryClass)
queryClass - the name of a class to loadpublic void setAllSources(java.lang.String allSources)
allSources - a space-separated list of source namespublic void execute()
execute in class org.apache.tools.ant.Task
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||