Interface TagEventScripts
- All Superinterfaces:
Countable
,Extendable<TagEventScripts>
,Mergable<TagEventScripts>
,Serializable
- All Known Implementing Classes:
BasicTagEventScripts
,ExtendedTagEventScripts
,TagEventScriptsDiff
,TagEventsScriptsConfig
public interface TagEventScripts
extends Serializable, Countable, Mergable<TagEventScripts>, Extendable<TagEventScripts>
The tag event scripts are python code that execute for certain events. The events are defined by their "id", and
depend on the system that is executing the tag.
In addition to maintaining the scripts, this object also tracks whether or not they are "enabled", in order to let users temporarily disable defined scripts.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
default TagEventScripts
extend
(TagEventScripts parent) If called on a child, gets the extension with the given parent.default TagEventScripts
This returns an object that represents the value only for the most "local" level.boolean
isEventEnabled
(String eventId) boolean
isInherited
(String eventId) boolean
isOverridden
(String eventId) default void
merge
(TagEventScripts other, boolean localOnly) Merges the values from other collection into this one.default TagEventScripts
Called on a base object, gets a new extension with a default config object for the child.void
void
void
setEventEnabled
(String eventId, boolean enabled)
-
Method Details
-
get
-
set
-
contains
-
remove
-
isOverridden
-
isInherited
-
getDefinedEvents
-
isEventEnabled
-
setEventEnabled
-
newExtension
Description copied from interface:Extendable
Called on a base object, gets a new extension with a default config object for the child.- Specified by:
newExtension
in interfaceExtendable<TagEventScripts>
-
extend
Description copied from interface:Extendable
If called on a child, gets the extension with the given parent.- Specified by:
extend
in interfaceExtendable<TagEventScripts>
-
getExtension
Description copied from interface:Extendable
This returns an object that represents the value only for the most "local" level. That is, this is the difference between the inherited base and the current extension. Complex objects should ensure that trait is true for all aspects of the returned value.- Specified by:
getExtension
in interfaceExtendable<TagEventScripts>
-
merge
Description copied from interface:Mergable
Merges the values from other collection into this one. Replaces any currently existing value with those from the other set.- Specified by:
merge
in interfaceMergable<TagEventScripts>
-