public class TwitterSearchSource extends AbstractModuleFixture<TwitterSearchSource>
label
Constructor and Description |
---|
TwitterSearchSource(java.lang.String consumerKey,
java.lang.String consumerSecret,
java.lang.String query)
Initializes a TwitterSearchSource fixture.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
toDSL()
Renders the DSL for this fixture.
|
static TwitterSearchSource |
withDefaults(java.lang.String consumerKey,
java.lang.String consumerSecret,
java.lang.String query)
Initializes a TwitterSearchSource fixture with a fixed delay of 30000 and an output type of application/json.
|
label, toString
public TwitterSearchSource(java.lang.String consumerKey, java.lang.String consumerSecret, java.lang.String query)
consumerKey
- The users twitter consumer keyconsumerSecret
- The users twitter comsumer secret keyquery
- The query the twitter source will execute.public static TwitterSearchSource withDefaults(java.lang.String consumerKey, java.lang.String consumerSecret, java.lang.String query)
consumerKey
- The users twitter consumer keyconsumerSecret
- The users twitter comsumer secret keyquery
- The query the twitter source will execute.protected java.lang.String toDSL()
toDSL
in class AbstractModuleFixture<TwitterSearchSource>