public class DefaultInputPortContext extends BaseContext<InputPortContext> implements InputPortContext
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultInputPortContext.Builder
Connection context builder.
|
address, observers, version| Constructor and Description |
|---|
DefaultInputPortContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
Returns the context address.
|
Collection<InputConnectionContext> |
connections()
Returns a collection of input port connections.
|
List<InputHook> |
hooks()
Returns a list of input hooks.
|
InputContext |
input()
Returns the parent input context.
|
String |
name()
Returns the port name.
|
void |
notify(InputPortContext update)
Notifies all observers of an update.
|
DefaultInputPortContext |
setInput(InputContext input) |
copy, equals, hashCode, registerObserver, toString, unregisterObserverclone, finalize, getClass, notify, notifyAll, wait, wait, waitregisterObserver, unregisterObserverpublic DefaultInputPortContext setInput(InputContext input)
public String name()
name in interface PortContext<InputPortContext>public InputContext input()
InputPortContextinput in interface InputPortContextpublic String address()
Contextaddress in interface Context<InputPortContext>public Collection<InputConnectionContext> connections()
InputPortContextconnections in interface InputPortContextpublic List<InputHook> hooks()
InputPortContexthooks in interface InputPortContextpublic void notify(InputPortContext update)
Observablenotify in interface Observable<InputPortContext>notify in class BaseContext<InputPortContext>update - The updated object.Copyright © 2013-2014. All Rights Reserved.