Package com.adaptris.core.event
Class ChannelRestartEvent
- java.lang.Object
-
- com.adaptris.core.Event
-
- com.adaptris.core.AdapterLifecycleEvent
-
- com.adaptris.core.event.ChannelRestartEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ChannelRestartEvent extends AdapterLifecycleEvent
AdapterLifecycleEvent
indicating aChannel
restart.- See Also:
- Serialized Form
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 Summary
Constructors Constructor Description ChannelRestartEvent()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getChannelFriendlyName()
Returns the friendly name of theChannel
if one has been configured.void
setChannelFriendlyName(java.lang.String s)
Sets the friendly name of theChannel
if one has been configured.-
Methods inherited from class com.adaptris.core.AdapterLifecycleEvent
getAdapterUniqueId, getNameSpace, getWasSuccessful, setAdapterUniqueId, setWasSuccessful
-
Methods inherited from class com.adaptris.core.Event
createNameSpace, getCreationTime, getDestinationId, getSourceId, getUniqueId, setCreationTime, setDestinationId, setSourceId, setUniqueId
-
-
-
-
Method Detail
-
getChannelFriendlyName
public java.lang.String getChannelFriendlyName()
Returns the friendly name of the
Channel
if one has been configured.- Returns:
- the friendly name of the
Channel
if one has been configured
-
setChannelFriendlyName
public void setChannelFriendlyName(java.lang.String s)
Sets the friendly name of the
Channel
if one has been configured.- Parameters:
s
- the friendly name of theChannel
if one has been configured
-
-