org.apache.lenya.cms.task
Class LuceneTask

java.lang.Object
  extended by org.apache.lenya.cms.task.AbstractTask
      extended by org.apache.lenya.cms.task.LuceneTask
All Implemented Interfaces:
org.apache.avalon.framework.parameters.Parameterizable, Task

public class LuceneTask
extends AbstractTask


Field Summary
 
Fields inherited from interface org.apache.lenya.cms.task.Task
DEFAULT_PREFIX, FAILURE, NAMESPACE, PARAMETER_CONTEXT_PREFIX, PARAMETER_PUBLICATION_ID, PARAMETER_SERVER_PORT, PARAMETER_SERVER_URI, PARAMETER_SERVLET_CONTEXT, SUCCESS
 
Constructor Summary
LuceneTask()
           
 
Method Summary
 void execute(java.lang.String servletContextPath)
          Execute the task.
 void outputParameters()
          Output parameters for debugging
 
Methods inherited from class org.apache.lenya.cms.task.AbstractTask
getParameters, getResult, parameterize, setLabel, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneTask

public LuceneTask()
Method Detail

execute

public void execute(java.lang.String servletContextPath)
             throws ExecutionException
Description copied from interface: Task
Execute the task. All parameters must have been set with parameterize().

Parameters:
servletContextPath - the servlet-context
Throws:
ExecutionException - if the execution fails
See Also:
Task.execute(java.lang.String)

outputParameters

public void outputParameters()
                      throws java.lang.Exception
Output parameters for debugging

Throws:
java.lang.Exception


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.