public static class DefaultConnectionConfig.DefaultSource extends Object implements ConnectionConfig.Source
SOURCE_COMPONENT, SOURCE_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.
|
public String getComponent()
ConnectionConfig.SourcegetComponent in interface ConnectionConfig.Sourcepublic ConnectionConfig.Source setComponent(String component)
ConnectionConfig.SourcesetComponent in interface ConnectionConfig.Sourcecomponent - The connection source component.public String getPort()
ConnectionConfig.SourcegetPort in interface ConnectionConfig.Sourcepublic ConnectionConfig.Source setPort(String port)
ConnectionConfig.SourcesetPort in interface ConnectionConfig.Sourceport - The connection source port.public ConnectionConfig.Source addHook(OutputHook hook)
ConnectionConfig.SourceaddHook in interface ConnectionConfig.Sourcehook - The hook to add.public List<OutputHook> getHooks()
ConnectionConfig.SourcegetHooks in interface ConnectionConfig.SourceCopyright © 2013-2014. All Rights Reserved.