Package blue.contract.simulator
Class Simulator
java.lang.Object
blue.contract.simulator.Simulator
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendEntries(String timelineId, String threadId, List<T> messages) appendEntries(String timelineId, List<T> messages) appendEntry(String timelineId, Object message) appendEntry(String timelineId, String threadId, Object message) createTimeline(String owner) <T> TgetMessageFromLastTimelineEntry(String timelineId, Class<T> clazz) intvoidvoidsubscribe(Predicate<SimulatorTimelineEntry<Object>> filter, Simulator.TimelineEntryConsumer consumer)
-
Constructor Details
-
Simulator
public Simulator(blue.language.Blue blue)
-
-
Method Details
-
createTimeline
-
appendEntry
-
appendEntry
-
appendEntries
-
appendEntries
-
subscribe
public void subscribe(Predicate<SimulatorTimelineEntry<Object>> filter, Simulator.TimelineEntryConsumer consumer) -
getTimelines
-
getTimelineCount
public int getTimelineCount() -
getMessageFromLastTimelineEntry
-
save
public void save(String timelineId, int skipEntries, String directory, String filePrefix) throws IOException - Throws:
IOException
-