Search in sources :

Example 1 with CoordinatedAction

use of me.panavtec.coordinator.qualifiers.CoordinatedAction in project Coordinator-java by PaNaVTEC.

the class ActionCompleteProcessor method createMappedAction.

@Override
protected MappedCoordinatedAction createMappedAction(Element e) {
    MappedCoordinatedAction action = new MappedCoordinatedAction();
    CoordinatedAction mappedAnnotation = e.getAnnotation(CoordinatedAction.class);
    action.setActionId(mappedAnnotation.action());
    action.setCoordinatorId(mappedAnnotation.coordinatorId());
    return action;
}
Also used : MappedCoordinatedAction(me.panavtec.coordinator.compiler.model.MappedCoordinatedAction) CoordinatedAction(me.panavtec.coordinator.qualifiers.CoordinatedAction) MappedCoordinatedAction(me.panavtec.coordinator.compiler.model.MappedCoordinatedAction)

Aggregations

MappedCoordinatedAction (me.panavtec.coordinator.compiler.model.MappedCoordinatedAction)1 CoordinatedAction (me.panavtec.coordinator.qualifiers.CoordinatedAction)1