public class ChannelRestartEvent extends AdapterLifecycleEvent
AdapterLifecycleEvent
indicating a Channel
restart.
In the adapter configuration file this class is aliased as channel-restart-event which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
ChannelRestartEvent()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChannelFriendlyName()
Returns the friendly name of the
Channel if one has been configured. |
void |
setChannelFriendlyName(java.lang.String s)
Sets the friendly name of the
Channel if one has been configured. |
getAdapterUniqueId, getNameSpace, getWasSuccessful, setAdapterUniqueId, setWasSuccessful
createNameSpace, getCreationTime, getDestinationId, getSourceId, getUniqueId, setCreationTime, setDestinationId, setSourceId, setUniqueId
public java.lang.String getChannelFriendlyName()
Returns the friendly name of the Channel
if one has been configured.
Channel
if one has been configuredpublic void setChannelFriendlyName(java.lang.String s)
Sets the friendly name of the Channel
if one has been configured.
s
- the friendly name of the Channel
if one has been configured