Annotation Type Behaviour


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Behaviour
    Behaviour method annotation.
    Since:
    5.0
    Author:
    Roy Wetherall
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      BehaviourKind kind
      kind of behaviour
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String assocType
      qualified name of association
      boolean isService
      indicates whether this is a service behaviour or not
      java.lang.String name
      lookup name of the behaviour, if none specified behaviour is not recorded in the registry
      Behaviour.NotificationFrequency notificationFrequency
      notification frequency
      java.lang.String policy
      qualified name of policy
      java.lang.String type
      qualified name of type/aspect
      • name

        java.lang.String name
        lookup name of the behaviour, if none specified behaviour is not recorded in the registry
        Default:
        ""
      • policy

        java.lang.String policy
        qualified name of policy
        Default:
        ""
      • isService

        boolean isService
        indicates whether this is a service behaviour or not
        Default:
        false
      • type

        java.lang.String type
        qualified name of type/aspect
        Default:
        ""
      • assocType

        java.lang.String assocType
        qualified name of association
        Default:
        "cm:contains"
      • notificationFrequency

        Behaviour.NotificationFrequency notificationFrequency
        notification frequency
        Default:
        org.alfresco.repo.policy.Behaviour.NotificationFrequency.EVERY_EVENT