|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.task.TaskManager
public class TaskManager
Field Summary | |
---|---|
static java.lang.String |
ANT_TASK
|
static java.lang.String |
CONFIGURATION_FILE
|
static java.lang.String |
EMTPY_TASK
|
static java.lang.String |
TASK_ELEMENT
|
static java.lang.String |
TASK_ID_ATTRIBUTE
|
Constructor Summary | |
---|---|
TaskManager()
Creates a new TaskManager object. |
|
TaskManager(java.lang.String publicationPath)
Creates a new instance of TaskManager |
Method Summary | |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
DOCUMENT ME! |
Task |
getTask(java.lang.String taskId)
Get the task with a given task-id |
java.lang.String[] |
getTaskIds()
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TASK_ELEMENT
public static final java.lang.String TASK_ID_ATTRIBUTE
public static final java.lang.String CONFIGURATION_FILE
public static final java.lang.String EMTPY_TASK
public static final java.lang.String ANT_TASK
Constructor Detail |
---|
public TaskManager()
public TaskManager(java.lang.String publicationPath) throws org.apache.avalon.framework.configuration.ConfigurationException, org.xml.sax.SAXException, java.io.IOException
publicationPath
- path to publication
org.apache.avalon.framework.configuration.ConfigurationException
- if the configuration failed.
org.xml.sax.SAXException
- when parsing the config file failed.
java.io.IOException
- when an I/O error occured.Method Detail |
---|
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
configuration
- DOCUMENT ME!
org.apache.avalon.framework.configuration.ConfigurationException
- DOCUMENT ME!public java.lang.String[] getTaskIds()
public Task getTask(java.lang.String taskId) throws ExecutionException
taskId
- the task-id of the requested task
ExecutionException
- if there is no task with the given task-id.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |