Class BaseBehaviour

  • All Implemented Interfaces:
    Behaviour
    Direct Known Subclasses:
    JavaBehaviour, ScriptBehaviour

    @AlfrescoPublicApi
    public abstract class BaseBehaviour
    extends java.lang.Object
    implements Behaviour
    Base behaviour implementation
    Author:
    Roy Wetherall
    • Field Detail

      • proxies

        protected java.util.Map<java.lang.Class,​java.lang.Object> proxies
        Proxies
    • Constructor Detail

      • BaseBehaviour

        public BaseBehaviour()
        Default constructor
    • Method Detail

      • disable

        public void disable()
        Disable this behaviour for the curent thread
        Specified by:
        disable in interface Behaviour
      • enable

        public void enable()
        Enable this behaviour for the current thread
        Specified by:
        enable in interface Behaviour
      • isEnabled

        public boolean isEnabled()
        Indicates whether the this behaviour is current enabled or not
        Specified by:
        isEnabled in interface Behaviour
        Returns:
        true if the behaviour is enabled, false otherwise