Package org.alfresco.repo.jscript
Class Behaviour
java.lang.Object
org.alfresco.repo.jscript.Behaviour
- All Implemented Interfaces:
Serializable,Scopeable
Object representing the behaviour information
- Author:
- Roy Wetherall
- See Also:
-
Constructor Details
-
Behaviour
Constructor- Parameters:
services- the service registryname- the name of the policy associated with this behaviourargs- the argument values
-
-
Method Details
-
setScope
public void setScope(org.mozilla.javascript.Scriptable scope) Description copied from interface:ScopeableSet the Scriptable global scope -
getName
Get the policy name- Returns:
- the name of the policy
-
getArgs
The argument values- Returns:
- array containing the argument values
-