public class DefaultOutputPortContext extends BaseContext<OutputPortContext> implements OutputPortContext
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultOutputPortContext.Builder
port context builder.
|
address, observers, version| Constructor and Description |
|---|
DefaultOutputPortContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
Returns the context address.
|
List<OutputHook> |
hooks()
Returns a list of output hooks.
|
String |
name()
Returns the port name.
|
void |
notify(OutputPortContext update) |
OutputContext |
output()
Returns the parent output context.
|
DefaultOutputPortContext |
setOutput(OutputContext output) |
Collection<OutputStreamContext> |
streams()
Returns a collection of port streams.
|
copy, equals, hashCode, registerObserver, toString, unregisterObserverclone, finalize, getClass, notify, notifyAll, wait, wait, waitregisterObserver, unregisterObserverpublic DefaultOutputPortContext setOutput(OutputContext output)
public String name()
name in interface PortContext<OutputPortContext>public OutputContext output()
OutputPortContextoutput in interface OutputPortContextpublic String address()
Contextaddress in interface Context<OutputPortContext>public Collection<OutputStreamContext> streams()
OutputPortContextstreams in interface OutputPortContextpublic List<OutputHook> hooks()
OutputPortContexthooks in interface OutputPortContextpublic void notify(OutputPortContext update)
notify in interface Observable<OutputPortContext>notify in class BaseContext<OutputPortContext>Copyright © 2013-2014. All Rights Reserved.