org.intermine.bio.task
Class OboConverterTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.intermine.task.DynamicAttributeTask
              extended by org.intermine.task.ConverterTask
                  extended by org.intermine.bio.task.OboConverterTask

public class OboConverterTask
extends ConverterTask

Initiates retrieval and conversion of data from a source database


Field Summary
protected static org.apache.log4j.Logger LOG
           
 
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
OboConverterTask()
           
 
Method Summary
 void execute()
          Run the task
 void setFile(java.lang.String file)
          Set the input file name
 void setOntologyName(java.lang.String ontologyName)
          Set the name of the ontology
 void setOsName(java.lang.String osName)
          Set the objectstore name
 void setTermClass(java.lang.String termClass)
          Set the term class name
 void setUrl(java.lang.String url)
          Set the url for the source of the ontology
 
Methods inherited from class org.intermine.task.ConverterTask
doSQL, getExcludeList, getModelName, getOsName, setExcludeList, setModelName
 
Methods inherited from class org.intermine.task.DynamicAttributeTask
configureDynamicAttributes
 
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

LOG

protected static final org.apache.log4j.Logger LOG
Constructor Detail

OboConverterTask

public OboConverterTask()
Method Detail

setFile

public void setFile(java.lang.String file)
Set the input file name

Parameters:
file - the database name

setOntologyName

public void setOntologyName(java.lang.String ontologyName)
Set the name of the ontology

Parameters:
ontologyName - name of the ontology

setOsName

public void setOsName(java.lang.String osName)
Set the objectstore name

Overrides:
setOsName in class ConverterTask
Parameters:
osName - the model name

setUrl

public void setUrl(java.lang.String url)
Set the url for the source of the ontology

Parameters:
url - the URL

setTermClass

public void setTermClass(java.lang.String termClass)
Set the term class name

Parameters:
termClass - the class of the term

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Run the task

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - if a problem occurs