org.apache.lenya.cms.task
Class Notifier
java.lang.Object
org.apache.lenya.cms.task.ParameterWrapper
org.apache.lenya.cms.task.Notifier
public class Notifier
- extends ParameterWrapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
TARGET
public static final java.lang.String TARGET
- See Also:
- Constant Field Values
PARAMETER_TO
public static final java.lang.String PARAMETER_TO
- See Also:
- Constant Field Values
PARAMETER_FROM
public static final java.lang.String PARAMETER_FROM
- See Also:
- Constant Field Values
Notifier
public Notifier(TaskManager taskManager,
java.util.Map parameters)
- Ctor.
- Parameters:
taskManager
- The task manager.parameters
- The task wrapper parameters.
sendNotification
public void sendNotification(TaskParameters taskParameters)
throws ExecutionException
- Sends the notification message.
- Parameters:
taskParameters
- The task parameters.
- Throws:
ExecutionException
- when something went wrong.
getTaskManager
protected TaskManager getTaskManager()
- Returns the task manager.
- Returns:
- A task manager.
getPrefix
public java.lang.String getPrefix()
- Description copied from class:
ParameterWrapper
- Returns the namespace prefix.
- Specified by:
getPrefix
in class ParameterWrapper
- Returns:
- A string.
- See Also:
ParameterWrapper.getPrefix()
getRequiredKeys
protected java.lang.String[] getRequiredKeys()
- Description copied from class:
ParameterWrapper
- Returns the required keys.
- Specified by:
getRequiredKeys
in class ParameterWrapper
- Returns:
- A string array.
- See Also:
ParameterWrapper.getRequiredKeys()
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.