Package org.intermine.web.task
Class CreateSearchIndexTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.intermine.web.task.CreateSearchIndexTask
-
public class CreateSearchIndexTask extends org.apache.tools.ant.Task
Create a keyword search index for a mine.- Author:
- Alex Kalderimis
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectStore
os
protected java.lang.String
osAlias
-
Constructor Summary
Constructors Constructor Description CreateSearchIndexTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
void
setClassLoader(java.lang.ClassLoader loader)
Set the class loadervoid
setObjectStore(ObjectStore os)
Set the object store.void
setOSAlias(java.lang.String osAlias)
Set the alias of the main object store.-
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
-
-
-
-
Field Detail
-
osAlias
protected java.lang.String osAlias
-
os
protected ObjectStore os
-
-
Method Detail
-
setOSAlias
public void setOSAlias(java.lang.String osAlias)
Set the alias of the main object store.- Parameters:
osAlias
- the object store alias
-
setObjectStore
public void setObjectStore(ObjectStore os)
Set the object store.- Parameters:
os
- The object store.
-
setClassLoader
public void setClassLoader(java.lang.ClassLoader loader)
Set the class loader- Parameters:
loader
- The class loader.
-
execute
public void execute()
- Overrides:
execute
in classorg.apache.tools.ant.Task
-
-