AMETAS.util.context
Interface AMETASRetrievePolicy
- All Known Implementing Classes:
- AMETASContextRetrievePolicy
- public interface AMETASRetrievePolicy
Determines preferences on retrieving messages.
- Since:
- 2.6.0
|
Field Summary |
static int |
NONE_SELECTED
Constant (-1) defining that no message was selected. |
|
Method Summary |
int |
selectMessage(java.util.List llMess)
Returns the index of the preferred message. |
NONE_SELECTED
public static final int NONE_SELECTED
- Constant (-1) defining that no message was selected.
- See Also:
- Constant Field Values
selectMessage
public int selectMessage(java.util.List llMess)
- Returns the index of the preferred message. The list itself remains unchanged.
- Returns:
- NONE_SELECTED if there are no messages in the list or if there were
other reasons to not select any message, else the index.