use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class ActiveSPCancelingBot 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, "MESSAGE_CANCELED", URI.create(WON_TX.STATE_CANCELING_ACTIVE.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class CompletedBlockedFPBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(false, "MESSAGE_COMPLETE", URI.create(WON_TX.STATE_ACTIVE.getURI())));
actions.add(new BATestScriptAction(true, "MESSAGE_COMPLETED", URI.create(WON_TX.STATE_COMPLETING.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class CompletedSPCompensatingBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new NopAction());
actions.add(new BATestScriptAction(true, "MESSAGE_COMPENSATED", URI.create(WON_TX.STATE_COMPENSATING.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class CompletedSPCompensatingFailingBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new NopAction());
actions.add(new BATestScriptAction(true, "MESSAGE_FAIL", URI.create(WON_TX.STATE_COMPENSATING.getURI())));
actions.add(new BATestScriptAction(false, "MESSAGE_FAILED", URI.create(WON_TX.STATE_FAILING_COMPENSATING.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class CompletedSPCCompensatingUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new NopAction());
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_COMPENSATED.getURI()), URI.create(WON_TX.STATE_COMPENSATING.getURI())));
return actions;
}
Aggregations