use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class BACCStateCompleteCannotCompleteBot 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_CANNOTCOMPLETE", URI.create(WON_TX.STATE_COMPLETING.getURI())));
actions.add(new BATestScriptAction(false, "MESSAGE_NOTCOMPLETED", URI.create(WON_TX.STATE_NOT_COMPLETING.getURI())));
return actions;
}
use of won.bot.framework.eventbot.listener.baStateBots.BATestScriptAction in project webofneeds by researchstudio-sat.
the class BACCStateCompleteExitBot 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_EXIT", URI.create(WON_TX.STATE_COMPLETING.getURI())));
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 BACCStateExitBot 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())));
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 BACCStateFailureOne method setupActions.
@Override
protected List<BATestScriptAction> setupActions() {
List<BATestScriptAction> actions = new ArrayList();
// Message can be sent from Participant, but not from this state
actions.add(new BATestScriptAction(true, "MESSAGE_CANCELED", URI.create(WON_TX.STATE_CANCELING_ACTIVE.getURI())));
// Message can not be sent from Participant, only from Coordinator
actions.add(new BATestScriptAction(true, "MESSAGE_CANCELED", URI.create(WON_TX.STATE_ACTIVE.getURI())));
// da je false ne bi radilo!!! ispitaj!!!
// Message can not be sent from Participant, only from Coordinator
actions.add(new BATestScriptAction(true, "MESSAGE_CANCELED", URI.create(WON_TX.STATE_ACTIVE.getURI())));
actions.add(new BATestScriptAction(false, "MESSAGE_CANCEL", URI.create(WON_TX.STATE_ACTIVE.getURI())));
actions.add(new BATestScriptAction(true, "MESSAGE_CANCELED", URI.create(WON_TX.STATE_CANCELING_ACTIVE.getURI())));
// actions.add(new BATestScriptAction(true, "MESSAGE_CANCELED", URI.create(WON_BA.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(true, "MESSAGE_COMPLETED", URI.create(WON_TX.STATE_ACTIVE.getURI())));
return actions;
}
Aggregations