@AlfrescoPublicApi public class JavaBehaviour extends BaseBehaviour
Behaviour.NotificationFrequencyfrequency, 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, setNotificationFrequencypublic 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–2018 Alfresco Software. All rights reserved.