Annotation Type Behaviour


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Behaviour
    Indicates a class that acts as a Behaviour.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Event event
      Indicates when to trigger the Behaviour.
      java.lang.String[] value
      The QNames of the types or aspects to apply the Behaviour to.
    • Element Detail

      • value

        java.lang.String[] value
        The QNames of the types or aspects to apply the Behaviour to. Can be specified in prefix format ( cm:content) or fully-qualified format ( {http://www.alfresco.org/model/content/1.0}content).

        The class names can be overridden for each Policy method by ClassPolicy, AssociationPolicy and PropertyPolicy.

        Default:
        {}
      • event

        Event event
        Indicates when to trigger the Behaviour. This can be overridden for each Policy method.
        Default:
        com.github.dynamicextensionsalfresco.behaviours.annotations.Event.ALL