public class EventTriggers extends CloneableDataObject implements EventTriggersConfiguration
Title: Open Service Framework
Description: This is the Event Trigger Registry based on a java.util.Hashtable
.
Service Configuration Object
.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
EventTriggers() |
Modifier and Type | Method and Description |
---|---|
void |
addEventTrigger(java.lang.String triggerName)
Adds new event trigger to the configuration
|
void |
addEventTriggerData(EventTriggerData eventTriggerData) |
java.lang.Object |
clone()
Clones the object.
|
boolean |
existsEventTrigger(java.lang.String triggerName)
Checks if an event trigger with the specified name exists in the configuration.
|
EventTriggerData |
getEventTriggerData(java.lang.String triggerName)
Returns event trigger data.
|
boolean |
hasEventTriggers()
Indicates if the configuration has event triggers.
|
java.util.List |
listEventTriggers()
Returns a list of event triggers set on this component.
|
void |
removeAllEventTriggers()
Removes all event triggers from this configuration.
|
void |
removeEventTrigger(java.lang.String triggerName)
Removes a trigger from the configuration.
|
getSerialVersionUID
public EventTriggerData getEventTriggerData(java.lang.String triggerName)
FabricEventTriggerSource
getEventTriggerData
in interface FabricEventTriggerSource
public void addEventTriggerData(EventTriggerData eventTriggerData) throws ServiceConfigurationException
ServiceConfigurationException
public void addEventTrigger(java.lang.String triggerName) throws ServiceConfigurationException
EventTriggersConfiguration
addEventTrigger
in interface EventTriggersConfiguration
ServiceConfigurationException
public void removeEventTrigger(java.lang.String triggerName) throws ServiceConfigurationException
EventTriggersConfiguration
removeEventTrigger
in interface EventTriggersConfiguration
triggerName
- StringServiceConfigurationException
public void removeAllEventTriggers()
EventTriggersConfiguration
removeAllEventTriggers
in interface EventTriggersConfiguration
public boolean existsEventTrigger(java.lang.String triggerName)
FabricEventTriggerSource
existsEventTrigger
in interface FabricEventTriggerSource
triggerName
- the specified trigger name.true
if an event trigger with the specified name exists, false
otherwise.public boolean hasEventTriggers()
FabricEventTriggerSource
hasEventTriggers
in interface FabricEventTriggerSource
true
if the configuration has event triggers, false
otherwise.public java.util.List listEventTriggers()
FabricEventTriggerSource
listEventTriggers
in interface FabricEventTriggerSource
public java.lang.Object clone()
CloneableDataObject
clone
in interface CloneableObject
clone
in class CloneableDataObject
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.