Class Configuration
java.lang.Object
test.de.iip_ecosphere.platform.simpleStream.spring.Configuration
A simple test configuration, also allowing for external overriding.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of items to ingest until end of test.booleanisDebug()Returns whether debug-mode is on.voidsetDebug(boolean debug) Defines whether debug-mode is on.voidsetIngestCount(int ingestCount) Defines the number of items to ingest until end of test.
-
Field Details
-
debug
private boolean debug -
ingestCount
private int ingestCount
-
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
isDebug
public boolean isDebug()Returns whether debug-mode is on.- Returns:
truefor debug,falseelse
-
getIngestCount
public int getIngestCount()Returns the number of items to ingest until end of test.- Returns:
- the number of items
-
setDebug
public void setDebug(boolean debug) Defines whether debug-mode is on. [required by Spring]- Parameters:
debug-truefor debug,falseelse
-
setIngestCount
public void setIngestCount(int ingestCount) Defines the number of items to ingest until end of test. [required by Spring]- Parameters:
ingestCount- the number of items
-