Class ScriptBehaviour

java.lang.Object
org.alfresco.repo.policy.BaseBehaviour
org.alfresco.repo.jscript.ScriptBehaviour
All Implemented Interfaces:
Behaviour

public class ScriptBehaviour extends BaseBehaviour
JavaScript behaviour implementation
Author:
Roy Wetherall
  • Constructor Details

  • Method Details

    • setServiceRegistry

      public void setServiceRegistry(ServiceRegistry serviceRegistry)
    • setLocation

      public void setLocation(ScriptLocation location)
    • toString

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

      public <T> T getInterface(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