Class TestBroker
java.lang.Object
de.iip_ecosphere.platform.services.environment.testing.TestBroker
- All Implemented Interfaces:
Starter.Plugin
Startup plugin for in-situ testing the transport broker.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic de.iip_ecosphere.platform.transport.connectors.TransportSetupcreateSetup(String[] args) Creates a transport setup instance fromargs.static de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<String> Creates a default string reception callback.Displays the help.voidRuns the plugin.
-
Constructor Details
-
TestBroker
public TestBroker()
-
-
Method Details
-
createSetup
public static de.iip_ecosphere.platform.transport.connectors.TransportSetup createSetup(String[] args) Creates a transport setup instance fromargs.- Parameters:
args- the command line arguments- Returns:
- the setup instance or null if none can be created
-
createStringReceptionCallback
public static de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<String> createStringReceptionCallback()Creates a default string reception callback.- Returns:
- the callback
-
run
Description copied from interface:Starter.PluginRuns the plugin.- Specified by:
runin interfaceStarter.Plugin- Parameters:
args- the (modified) command line arguments
-
getHelp
Description copied from interface:Starter.PluginDisplays the help.- Specified by:
getHelpin interfaceStarter.Plugin- Parameters:
indent- indentation characters for all lines after the first- Returns:
- the formatted help text
-