Annotation Type Plugin


  • @Retention(RUNTIME)
    public @interface Plugin
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?>[] dependencies  
      java.lang.Class<?>[] runsBefore  
    • Element Detail

      • dependencies

        java.lang.Class<?>[] dependencies
        Returns:
        the list of plugins this plugin is depending on
        Default:
        {}
      • runsBefore

        java.lang.Class<?>[] runsBefore
        Returns:
        the list of plugins before which this plugin should be executed. This has the inverse meaning of the "dependencies" attribute. In some cases we prefer specify that "A has to be run before B" instead of "B is depending on A". This is for example the case when B doesn't know A
        Default:
        {}