|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lenya.cms.task.AbstractTask
org.apache.lenya.cms.task.HelloWorldTask
public class HelloWorldTask
A simple task to demonstrate the task behaviour. It outputs a string to the log4j log file. The
following parameter can be provided:text
: the string to be printed
If the parameter is omitted, "Hello World" is printed.
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 | |
---|---|
HelloWorldTask()
Creates a new instance of HelloWorldTask |
Method Summary | |
---|---|
void |
execute(java.lang.String path)
Execute the task. |
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 |
---|
public HelloWorldTask()
Method Detail |
---|
public void execute(java.lang.String path) throws ExecutionException
path
- DOCUMENT ME!
ExecutionException
- if the exection fails
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |