rero.client.functions
Class UserOperators

java.lang.Object
  extended byrero.client.Feature
      extended byrero.client.functions.UserOperators
All Implemented Interfaces:
Function, Loadable, Predicate

public class UserOperators
extends Feature
implements Predicate, Function, Loadable


Field Summary
protected  InternalDataList data
           
 
Fields inherited from class rero.client.Feature
abilities
 
Constructor Summary
UserOperators()
           
 
Method Summary
 boolean decide(String predicate, ScriptInstance script, Stack terms)
           
 Scalar evaluate(String function, ScriptInstance script, Stack locals)
           
 void init()
           
 boolean scriptLoaded(ScriptInstance script)
           
 boolean scriptUnloaded(ScriptInstance script)
           
 
Methods inherited from class rero.client.Feature
cleanup, getCapabilities, installCapabilities, storeDataStructures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected InternalDataList data
Constructor Detail

UserOperators

public UserOperators()
Method Detail

init

public void init()
Specified by:
init in class Feature

scriptLoaded

public boolean scriptLoaded(ScriptInstance script)
Specified by:
scriptLoaded in interface Loadable

scriptUnloaded

public boolean scriptUnloaded(ScriptInstance script)
Specified by:
scriptUnloaded in interface Loadable

evaluate

public Scalar evaluate(String function,
                       ScriptInstance script,
                       Stack locals)
Specified by:
evaluate in interface Function

decide

public boolean decide(String predicate,
                      ScriptInstance script,
                      Stack terms)
Specified by:
decide in interface Predicate