public abstract class FromMongoDbOptionMixin extends java.lang.Object implements ProfileNamesProvider
Modifier and Type | Class and Description |
---|---|
static class |
FromMongoDbOptionMixin.Job
Has
collectionName default to ${xd.job.name}. |
static class |
FromMongoDbOptionMixin.Stream
Has
collectionName default to ${xd.stream.name}. |
NO_PROFILES
Modifier | Constructor and Description |
---|---|
protected |
FromMongoDbOptionMixin(java.lang.String collectionName)
Subclasses should provide a default value for collectionName.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionName() |
int |
getFixedDelay() |
java.lang.String |
getQuery() |
boolean |
isSplit() |
java.lang.String[] |
profilesToActivate() |
void |
setCollectionName(java.lang.String collectionName) |
void |
setFixedDelay(int fixedDelay) |
void |
setQuery(java.lang.String query) |
void |
setSplit(boolean split) |
protected FromMongoDbOptionMixin(java.lang.String collectionName)
public void setCollectionName(java.lang.String collectionName)
public void setFixedDelay(int fixedDelay)
public void setQuery(java.lang.String query)
public java.lang.String getCollectionName()
public int getFixedDelay()
public java.lang.String getQuery()
public boolean isSplit()
public void setSplit(boolean split)
public java.lang.String[] profilesToActivate()
profilesToActivate
in interface ProfileNamesProvider