use of won.bot.framework.eventbot.listener.baStateBots.NopAction in project webofneeds by researchstudio-sat.
the class CompletingSPCancelingFailingBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
// automatic
// actions.add(new BATestScriptAction(false, "MESSAGE_CANCEL", URI.create(WON_BA.STATE_CANCELING.getURI()), 3));
actions.add(new NopAction());
actions.add(new BATestScriptAction(true, "MESSAGE_FAIL", URI.create(WON_TX.STATE_CANCELING_COMPLETING.getURI())));
actions.add(new BATestScriptAction(false, "MESSAGE_FAILED", URI.create(WON_TX.STATE_FAILING_ACTIVE_CANCELING_COMPLETING.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.NopAction in project webofneeds by researchstudio-sat.
the class ActiveFPUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new NopAction());
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.NopAction in project webofneeds by researchstudio-sat.
the class ActiveFailingVoteFPUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new NopAction());
actions.add(new NopAction());
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_FAIL.getURI()), URI.create(WON_TX.STATE_ACTIVE.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.NopAction in project webofneeds by researchstudio-sat.
the class ActiveSPCancelingUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
// automatic
// actions.add(new BATestScriptAction(true, "MESSAGE_CANCEL", URI.create(WON_BA.STATE_ACTIVE.getURI()), 3));
actions.add(new NopAction());
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_CANCELED.getURI()), URI.create(WON_TX.STATE_CANCELING_ACTIVE.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.NopAction in project webofneeds by researchstudio-sat.
the class ActiveSPCancelingFailingBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
// automatic
// actions.add(new BATestScriptAction(false, "MESSAGE_CANCEL", URI.create(WON_BA.STATE_ACTIVE.getURI()), 3));
actions.add(new NopAction());
actions.add(new BATestScriptAction(true, "MESSAGE_FAIL", URI.create(WON_TX.STATE_CANCELING_ACTIVE.getURI())));
actions.add(new BATestScriptAction(false, "MESSAGE_FAILED", URI.create(WON_TX.STATE_FAILING_ACTIVE_CANCELING_COMPLETING.getURI())));
return actions;
}
Aggregations