rero.bridges.set
Class SetEnvironment

java.lang.Object
  extended byrero.bridges.alias.AliasEnvironment
      extended byrero.bridges.set.SetEnvironment
All Implemented Interfaces:
Environment, Loadable

public class SetEnvironment
extends AliasEnvironment

kind of dirty, implementation of sets just piggy backs off of the implementation of aliases. API's are different, however the data structures are the same and the unloading code can be shared this way.


Field Summary
 
Fields inherited from class rero.bridges.alias.AliasEnvironment
aliases
 
Constructor Summary
SetEnvironment()
           
 
Method Summary
 void bindFunction(ScriptInstance si, String type, String name, Block code)
           
 boolean isSet(String name)
           
 boolean isTimeStamped(String name)
           
 String parseSet(String name, HashMap eventData)
           
 boolean scriptLoaded(ScriptInstance si)
           
 
Methods inherited from class rero.bridges.alias.AliasEnvironment
getAlias, getAliasList, isAlias, scriptUnloaded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetEnvironment

public SetEnvironment()
Method Detail

bindFunction

public void bindFunction(ScriptInstance si,
                         String type,
                         String name,
                         Block code)
Specified by:
bindFunction in interface Environment
Overrides:
bindFunction in class AliasEnvironment

scriptLoaded

public boolean scriptLoaded(ScriptInstance si)
Specified by:
scriptLoaded in interface Loadable
Overrides:
scriptLoaded in class AliasEnvironment

isSet

public boolean isSet(String name)

isTimeStamped

public boolean isTimeStamped(String name)

parseSet

public String parseSet(String name,
                       HashMap eventData)