Javadoc
Retrieves the specified number of messages from action history of the
given
Action based on messageCount. Regardless of the value of
messageCount, in order to restrict resource utilization by controllers,
maximum number of messages that are retrieved from database is limited by
RepositoryConstants#MAX_ACTION_HISTORY_MSG_COUNT. messageCount <
0, retrieves the maximum allowed number of action status messages from
history; messageCount = 0, does not retrieve any message; and
messageCount > 0, retrieves the specified number of messages, limited by
maximum allowed number. A controller sends the feedback for an
ActionStatus as a list of messages; while returning the messages,
even though the messages from multiple
ActionStatus are retrieved
in descending order by the reported time
(
ActionStatus#getOccurredAt()), i.e. latest ActionStatus first,
the sub-ordering of messages from within single
ActionStatus is
unspecified.