net.sf.sasl.aop.monitoring.execution.time
Class PlaceholderScriptMessage
java.lang.Object
net.sf.sasl.aop.monitoring.execution.time.PlaceholderScriptMessage
public class PlaceholderScriptMessage
- extends Object
Converts a MessageBean
into a message placeholder script.
- Since:
- 0.0.1 (sasl-common-aspect-library)
- Author:
- Philipp Förmer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlaceholderScriptMessage
public PlaceholderScriptMessage(MessageBean messageBean)
throws IllegalArgumentException,
ParseException
- Parameters:
messageBean
- non null
- Throws:
IllegalArgumentException
- if messageBean is null.
ParseException
- if a parse exception occurs during trying to parse the
subject and message text.- Since:
- 0.0.1 (sasl-common-aspect-library)
getSubject
public ScriptNode getSubject()
- Returns the subject of the message as a placeholder script.
- Returns:
- non null
- Since:
- 0.0.1 (sasl-common-aspect-library)
getMessage
public ScriptNode getMessage()
- Returns the message text of the message as a placeholder script.
- Returns:
- non null
- Since:
- 0.0.1 (sasl-common-aspect-library)
Copyright © 2010. All Rights Reserved.