@AlfrescoPublicApi
public interface Behaviour
Modifier and Type | Interface and Description |
---|---|
static class |
Behaviour.NotificationFrequency
When should behaviour be notified?
|
Modifier and Type | Method and Description |
---|---|
void |
disable()
Disable the behaviour (for this thread only)
|
void |
enable()
Enable the behaviour (for this thread only)
|
<T> T |
getInterface(Class<T> policy)
Gets the requested policy interface onto the behaviour
|
Behaviour.NotificationFrequency |
getNotificationFrequency() |
boolean |
isEnabled() |
<T> T getInterface(Class<T> policy)
policy
- the policy interface classvoid disable()
void enable()
boolean isEnabled()
Behaviour.NotificationFrequency getNotificationFrequency()
Copyright © 2005–2017 Alfresco Software. All rights reserved.