public static class DefaultConnectionConfig.DefaultTarget extends Object implements ConnectionConfig.Target
SOURCE_COMPONENT, SOURCE_PORT| Modifier and Type | Method and Description |
|---|---|
ConnectionConfig.Target |
addHook(InputHook hook)
Adds an input hook to the target.
|
String |
getComponent()
Returns the connection target component.
|
List<InputHook> |
getHooks()
Returns a list of input hooks.
|
String |
getPort()
Returns the connection target port.
|
ConnectionConfig.Target |
setComponent(String component)
Sets the connection target component.
|
ConnectionConfig.Target |
setPort(String port)
Sets the connection target port.
|
public String getComponent()
ConnectionConfig.TargetgetComponent in interface ConnectionConfig.Targetpublic ConnectionConfig.Target setComponent(String component)
ConnectionConfig.TargetsetComponent in interface ConnectionConfig.Targetcomponent - The connection target component.public String getPort()
ConnectionConfig.TargetgetPort in interface ConnectionConfig.Targetpublic ConnectionConfig.Target setPort(String port)
ConnectionConfig.TargetsetPort in interface ConnectionConfig.Targetport - The connection target port.public ConnectionConfig.Target addHook(InputHook hook)
ConnectionConfig.TargetaddHook in interface ConnectionConfig.Targethook - The hook to add.public List<InputHook> getHooks()
ConnectionConfig.TargetgetHooks in interface ConnectionConfig.TargetCopyright © 2013-2014. All Rights Reserved.