Interface StubTrigger
- All Known Subinterfaces:
StubFinder,StubRunning
- All Known Implementing Classes:
BatchStubRunner,StubRunner,StubRunnerExtension,StubRunnerExtension.PortStubRunnerExtension,StubRunnerRule,StubRunnerRule.PortStubRunnerRule
public interface StubTrigger
Contract for triggering stub messages.
- Author:
- Marcin Grzejszczak
-
Method Details
-
trigger
Triggers an event by a given label for a givengroupid:artifactidnotation. You can use onlyartifactIdtoo. Feature related to messaging.- Parameters:
ivyNotation- ivy notation of a stublabelName- name of the label to trigger- Returns:
- true - if managed to run a trigger
-
trigger
Triggers an event by a given label. Feature related to messaging.- Parameters:
labelName- name of the label to trigger- Returns:
- true - if managed to run a trigger
-
trigger
boolean trigger()Triggers all possible events. Feature related to messaging.- Returns:
- true - if managed to run a trigger
-
labels
Map<String,Collection<String>> labels()Feature related to messaging.- Returns:
- a mapping of ivy notation of a dependency to all the labels it has.
-