Package org.apache.storm.testing
Class MockedSources
java.lang.Object
org.apache.storm.testing.MockedSources
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMockData
(String spoutId, String streamId, Values... valueses) add mock data for the spout.void
addMockData
(String spoutId, Values... valueses) getData()
-
Constructor Details
-
MockedSources
public MockedSources() -
MockedSources
-
-
Method Details
-
addMockData
add mock data for the spout.- Parameters:
spoutId
- the spout to be mockedstreamId
- the stream of the spout to be mockedvalueses
- the mocked data
-
addMockData
-
getData
-