use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class BACCStateActiveCancelUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_CANCEL.getURI()), URI.create(WON_TX.STATE_ACTIVE.getURI())));
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.BATestScriptAction in project webofneeds by researchstudio-sat.
the class BACCStateCompensateFailUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_COMPLETE.getURI()), URI.create(WON_TX.STATE_ACTIVE.getURI())));
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_COMPLETED.getURI()), URI.create(WON_TX.STATE_COMPLETING.getURI())));
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_COMPENSATE.getURI()), URI.create(WON_TX.STATE_COMPLETED.getURI())));
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_FAIL.getURI()), URI.create(WON_TX.STATE_COMPENSATING.getURI())));
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_FAILED.getURI()), 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 BACCStateCompleteCancelUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_COMPLETE.getURI()), URI.create(WON_TX.STATE_ACTIVE.getURI())));
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_CANCEL.getURI()), URI.create(WON_TX.STATE_COMPLETING.getURI())));
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_CANCELED.getURI()), URI.create(WON_TX.STATE_CANCELING_COMPLETING.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class BACCStateCompleteExitUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_COMPLETE.getURI()), URI.create(WON_TX.STATE_ACTIVE.getURI())));
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_EXIT.getURI()), URI.create(WON_TX.STATE_COMPLETING.getURI())));
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_EXITED.getURI()), URI.create(WON_TX.STATE_EXITING.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class ActiveFPBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new NopAction());
return actions;
}
Aggregations