Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MuleMessageAware |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.api.context.notification; | |
8 | ||
9 | import org.mule.api.MuleMessage; | |
10 | ||
11 | /** | |
12 | * Signals that a Notification can have a {@link MuleMessage} available through it. The message set will be the one | |
13 | * available when the notification was triggered. | |
14 | * Note that the message returned may also be a {@link org.mule.api.MuleMessageCollection} if there was more than one | |
15 | * message available when the notification was created. | |
16 | * | |
17 | * @see org.mule.api.MuleMessage | |
18 | * @see org.mule.api.MuleMessageCollection | |
19 | */ | |
20 | public interface MuleMessageAware | |
21 | { | |
22 | public MuleMessage getMessage(); | |
23 | } |