public class Behaviour extends Object implements Scopeable, Serializable
| Constructor and Description |
|---|
Behaviour(ServiceRegistry services,
String name,
Object[] args)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Serializable[] |
getArgs()
The argument values
|
String |
getName()
Get the policy name
|
void |
setScope(org.mozilla.javascript.Scriptable scope)
Set the Scriptable global scope
|
public Behaviour(ServiceRegistry services, String name, Object[] args)
services - the service registryname - the name of the policy associated with this behaviourargs - the argument valuespublic void setScope(org.mozilla.javascript.Scriptable scope)
ScopeablesetScope in interface Scopeablescope - relative global scopeScopeable.setScope(org.mozilla.javascript.Scriptable)public String getName()
public Serializable[] getArgs()
Copyright © 2005–2018 Alfresco Software. All rights reserved.