Package org.alfresco.repo.jscript
Class ScriptBehaviour
java.lang.Object
org.alfresco.repo.policy.BaseBehaviour
org.alfresco.repo.jscript.ScriptBehaviour
- All Implemented Interfaces:
Behaviour
JavaScript behaviour implementation
- Author:
- Roy Wetherall
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Behaviour
Behaviour.NotificationFrequency -
Field Summary
Fields inherited from class org.alfresco.repo.policy.BaseBehaviour
frequency, proxies -
Constructor Summary
ConstructorsConstructorDescriptionScriptBehaviour(ServiceRegistry serviceRegistry, ScriptLocation location) ScriptBehaviour(ServiceRegistry serviceRegistry, ScriptLocation location, Behaviour.NotificationFrequency frequency) -
Method Summary
Modifier and TypeMethodDescription<T> TgetInterface(Class<T> policy) Gets the requested policy interface onto the behaviourvoidsetLocation(ScriptLocation location) voidsetServiceRegistry(ServiceRegistry serviceRegistry) toString()Methods inherited from class org.alfresco.repo.policy.BaseBehaviour
disable, enable, getNotificationFrequency, isEnabled, setNotificationFrequency
-
Constructor Details
-
ScriptBehaviour
public ScriptBehaviour() -
ScriptBehaviour
-
ScriptBehaviour
public ScriptBehaviour(ServiceRegistry serviceRegistry, ScriptLocation location, Behaviour.NotificationFrequency frequency)
-
-
Method Details