public static interface ConnectionConfig.Source extends Config<ConnectionConfig.Source>
| Modifier and Type | Field and Description |
|---|---|
static String |
SOURCE_COMPONENT
component indicates the source component name. |
static String |
SOURCE_PORT
port indicates the source output port. |
| Modifier and Type | Method and Description |
|---|---|
ConnectionConfig.Source |
addHook(OutputHook hook)
Adds an output hook to the source.
|
String |
getComponent()
Returns the connection source component.
|
List<OutputHook> |
getHooks()
Returns a list of output hooks.
|
String |
getPort()
Returns the connection source port.
|
ConnectionConfig.Source |
setComponent(String component)
Sets the connection source component.
|
ConnectionConfig.Source |
setPort(String port)
Sets the connection source port.
|
static final String SOURCE_COMPONENT
component indicates the source component name.static final String SOURCE_PORT
port indicates the source output port.String getComponent()
ConnectionConfig.Source setComponent(String component)
component - The connection source component.String getPort()
ConnectionConfig.Source setPort(String port)
port - The connection source port.ConnectionConfig.Source addHook(OutputHook hook)
hook - The hook to add.List<OutputHook> getHooks()
Copyright © 2013-2014. All Rights Reserved.