| /** |
| * |
| */ |
| package net.sf.taverna.t2.activities.interaction; |
| |
| import java.util.Map; |
| |
| /** |
| * @author alanrw |
| * |
| */ |
| public interface InteractionRequestor { |
| |
| String getRunId(); |
| |
| Map<String, Object> getInputData(); |
| |
| void fail(String string); |
| |
| void carryOn(); |
| |
| String generateId(); |
| |
| // The path to whatever requested the interaction |
| String getPath(); |
| |
| // The number of times whatever requested the interaction has requested one |
| Integer getInvocationCount(); |
| |
| InteractionActivityType getPresentationType(); |
| |
| InteractionType getInteractionType(); |
| |
| String getPresentationOrigin(); |
| |
| void receiveResult(Map<String, Object> resultMap); |
| |
| } |