use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class ActiveExitVoteSPBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(true, "MESSAGE_EXIT", URI.create(WON_TX.STATE_ACTIVE.getURI())));
// no vote!
actions.add(new BATestScriptAction(false, "MESSAGE_EXITED", 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;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class BACCStateCompleteWithFailuresUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_NOTCOMPLETED.getURI()), URI.create(WON_TX.STATE_ACTIVE.getURI())));
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_COMPENSATED.getURI()), URI.create(WON_TX.STATE_ACTIVE.getURI())));
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_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_CLOSE.getURI()), URI.create(WON_TX.STATE_COMPLETED.getURI())));
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_CANNOTCOMPLETE.getURI()), URI.create(WON_TX.STATE_CLOSING.getURI())));
actions.add(new BATestScriptAction(false, URI.create(WON_TX.MESSAGE_COMPLETE.getURI()), URI.create(WON_TX.STATE_CLOSING.getURI())));
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_CLOSED.getURI()), URI.create(WON_TX.STATE_CLOSING.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class BACCStateExitUriBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(true, URI.create(WON_TX.MESSAGE_EXIT.getURI()), URI.create(WON_TX.STATE_ACTIVE.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 ActiveBlockingFPBot method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
actions.add(new BATestScriptAction(true, "MESSAGE_COMPLETED", URI.create(WON_TX.STATE_ACTIVE.getURI())));
actions.add(new BATestScriptAction(false, "MESSAGE_CLOSE", URI.create(WON_TX.STATE_COMPLETED.getURI())));
return actions;
}
Aggregations