Class 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  
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      void setClassLoader​(java.lang.ClassLoader loader)
      Set the class loader
      void 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
      • 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

      • osAlias

        protected java.lang.String osAlias
    • Constructor Detail

      • CreateSearchIndexTask

        public CreateSearchIndexTask()
    • 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 class org.apache.tools.ant.Task