public class ActionableEvents extends CloneableDataObject implements ActionableEventsConfiguration
Title: Open Service Framework
Description: A table containing registered actionable events.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
ActionableEvents() |
Modifier and Type | Method and Description |
---|---|
void |
addActionableEvent(java.lang.String eventId)
Adds an actionable event and its prototype to the list of supported events.
|
java.lang.Object |
clone()
Clones the object.
|
boolean |
existsActionableEvent(java.lang.String eventId)
Checks if an event with the specified id is registered as actionable.
|
boolean |
hasActionableEvents()
Indicates if the component has actionable events.
|
java.util.List |
listActionableEvents()
Lists all registered actionable events for this component.
|
void |
removeActionableEvent(java.lang.String eventId)
Remove an actionable event from the list of supported types.
|
void |
removeAllActionableEvents()
Removes all actionable events.
|
void |
setActionableEventId(java.lang.String oldId,
java.lang.String newId)
Sets the
eventId of the actionable event. |
getSerialVersionUID
public void addActionableEvent(java.lang.String eventId) throws ServiceConfigurationException
ActionableEventsConfiguration
addActionableEvent
in interface ActionableEventsConfiguration
eventId
- StringServiceConfigurationException
public void removeActionableEvent(java.lang.String eventId) throws ServiceConfigurationException
ActionableEventsConfiguration
removeActionableEvent
in interface ActionableEventsConfiguration
eventId
- StringServiceConfigurationException
public java.util.List listActionableEvents()
FabricEventSource
listActionableEvents
in interface FabricEventSource
public boolean hasActionableEvents()
FabricEventSource
hasActionableEvents
in interface FabricEventSource
true
if the component has actionable events, false
otherwise.public void removeAllActionableEvents()
ActionableEventsConfiguration
removeAllActionableEvents
in interface ActionableEventsConfiguration
public boolean existsActionableEvent(java.lang.String eventId)
FabricEventSource
existsActionableEvent
in interface FabricEventSource
eventId
- the specified event id.true
if an actionable event with the specified id exists, false
otherwise.public java.lang.Object clone()
CloneableDataObject
clone
in interface CloneableObject
clone
in class CloneableDataObject
public void setActionableEventId(java.lang.String oldId, java.lang.String newId) throws ServiceConfigurationException
ActionableEventsConfiguration
eventId
of the actionable event. This method is intended for use
with service configuration tools after the prototype has been defined. It allows users to
specify the real name of the actionable event rather then the prototype name used as a
place holder.setActionableEventId
in interface ActionableEventsConfiguration
oldId
- StringnewId
- StringServiceConfigurationException
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.