@AlfrescoPublicApi public abstract class BaseBehaviour extends Object implements Behaviour
Behaviour.NotificationFrequency
Modifier and Type | Field and Description |
---|---|
protected Behaviour.NotificationFrequency |
frequency
The notification frequency
|
protected Map<Class,Object> |
proxies
Proxies
|
Constructor and Description |
---|
BaseBehaviour()
Default constructor
|
BaseBehaviour(Behaviour.NotificationFrequency frequency)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
disable()
Disable this behaviour for the curent thread
|
void |
enable()
Enable this behaviour for the current thread
|
Behaviour.NotificationFrequency |
getNotificationFrequency()
Get the notification frequency
|
boolean |
isEnabled()
Indicates whether the this behaviour is current enabled or not
|
void |
setNotificationFrequency(Behaviour.NotificationFrequency frequency) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInterface
protected Behaviour.NotificationFrequency frequency
public BaseBehaviour()
public BaseBehaviour(Behaviour.NotificationFrequency frequency)
frequency
- the notification frequencypublic void setNotificationFrequency(Behaviour.NotificationFrequency frequency)
public void disable()
public void enable()
public boolean isEnabled()
public Behaviour.NotificationFrequency getNotificationFrequency()
getNotificationFrequency
in interface Behaviour
Copyright © 2005–2017 Alfresco Software. All rights reserved.