@AlfrescoPublicApi public class JavaBehaviour extends BaseBehaviour
Behaviour.NotificationFrequency
frequency, proxies
Constructor and Description |
---|
JavaBehaviour(Object instance,
String method)
Construct.
|
JavaBehaviour(Object instance,
String method,
Behaviour.NotificationFrequency frequency)
Construct.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getInterface(Class<T> policy)
Gets the requested policy interface onto the behaviour
|
String |
toString() |
disable, enable, getNotificationFrequency, isEnabled, setNotificationFrequency
public JavaBehaviour(Object instance, String method)
instance
- the object instance holding the methodmethod
- the method namepublic JavaBehaviour(Object instance, String method, Behaviour.NotificationFrequency frequency)
instance
- the object instance holding the methodmethod
- the method nameCopyright © 2005–2017 Alfresco Software. All rights reserved.