public abstract class AbstractDataStoreProducer extends WWObjectImpl implements DataStoreProducer
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDataStoreProducer.SourceInfo |
Modifier and Type | Field and Description |
---|---|
protected AVList |
productionParams |
Constructor and Description |
---|
AbstractDataStoreProducer() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDataSource(Object source,
AVList params) |
boolean |
containsDataSource(Object source) |
protected abstract void |
doStartProduction(AVList parameters) |
protected List<AbstractDataStoreProducer.SourceInfo> |
getDataSourceList() |
Iterable<Object> |
getDataSources() |
AVList |
getProductionParameters() |
Iterable<?> |
getProductionResults() |
protected List<Object> |
getProductionResultsList() |
AVList |
getStoreParameters() |
protected boolean |
isStopped() |
void |
offerAllDataSources(Iterable<?> sources) |
void |
offerDataSource(Object source,
AVList params) |
void |
removeAllDataSources() |
void |
removeDataSource(Object source) |
void |
removeProductionState() |
void |
setStoreParameters(AVList parameters) |
void |
startProduction() |
void |
stopProduction() |
protected abstract String |
validateDataSource(Object source,
AVList params) |
protected abstract String |
validateProductionParameters(AVList parameters) |
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataSourceDescription
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
propertyChange
onMessage
protected AVList productionParams
public boolean acceptsDataSource(Object source, AVList params)
acceptsDataSource
in interface DataStoreProducer
public boolean containsDataSource(Object source)
containsDataSource
in interface DataStoreProducer
protected abstract void doStartProduction(AVList parameters) throws Exception
Exception
protected List<AbstractDataStoreProducer.SourceInfo> getDataSourceList()
public Iterable<Object> getDataSources()
getDataSources
in interface DataStoreProducer
public AVList getProductionParameters()
getProductionParameters
in interface DataStoreProducer
public Iterable<?> getProductionResults()
getProductionResults
in interface DataStoreProducer
public AVList getStoreParameters()
getStoreParameters
in interface DataStoreProducer
protected boolean isStopped()
public void offerAllDataSources(Iterable<?> sources)
offerAllDataSources
in interface DataStoreProducer
public void offerDataSource(Object source, AVList params)
offerDataSource
in interface DataStoreProducer
public void removeAllDataSources()
removeAllDataSources
in interface DataStoreProducer
public void removeDataSource(Object source)
removeDataSource
in interface DataStoreProducer
public void removeProductionState()
removeProductionState
in interface DataStoreProducer
public void setStoreParameters(AVList parameters)
setStoreParameters
in interface DataStoreProducer
public void startProduction() throws Exception
startProduction
in interface DataStoreProducer
Exception
public void stopProduction()
stopProduction
in interface DataStoreProducer