Class ScriptBehaviour

  • All Implemented Interfaces:
    Behaviour

    public class ScriptBehaviour
    extends BaseBehaviour
    JavaScript behaviour implementation
    Author:
    Roy Wetherall
    • Method Detail

      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getInterface

        public <T> T getInterface​(java.lang.Class<T> policy)
        Description copied from interface: Behaviour
        Gets the requested policy interface onto the behaviour
        Parameters:
        policy - the policy interface class
        Returns:
        the policy interface