Annotation Type ClassPolicy


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface ClassPolicy
    Indicates a method is a Class-level Policy.

    This annotation should only be applied to ClassPolicy interface methods.

    • 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 Policy to.
    • Element Detail

      • value

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

        If no value is specified, the Policy is applied to all types and aspects.

        Default:
        {}
      • event

        Event event
        Indicates when to trigger the Behaviour.
        Default:
        com.github.dynamicextensionsalfresco.behaviours.annotations.Event.INHERITED_OR_ALL