|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mactor.framework.commandexecutors.bsh.BshMessageSelectorCommandExecutor
public class BshMessageSelectorCommandExecutor
Constructor Summary | |
---|---|
BshMessageSelectorCommandExecutor(java.lang.String command,
java.util.List<java.lang.String> params)
|
Method Summary | |
---|---|
boolean |
isAcceptableMessage(Message message)
The method invoked by the testrunner to build the messgte. |
void |
setParams(java.util.List<java.lang.String> params)
This method is ivoked by the test runner before selector is passed to the message broker during subscribe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BshMessageSelectorCommandExecutor(java.lang.String command, java.util.List<java.lang.String> params)
Method Detail |
---|
public void setParams(java.util.List<java.lang.String> params) throws MactorException
MessageSelectorCommand
setParams
in interface MessageSelectorCommand
params
- the list of parameteres specifed for the given node in the
test-spec xml (after the ##{...} substitution has been
performed)
MactorException
- if some problem occured (this will cause the test to fail)public boolean isAcceptableMessage(Message message) throws MactorException
MessageSelectorCommand
isAcceptableMessage
in interface MessageSelectorCommandExecutor
isAcceptableMessage
in interface MessageSelectorCommand
MactorException
- if some problem occured (this exception is logged and
ignored)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |