Annotation Type Configuration


  • @Target(TYPE)
    @Documented
    @Retention(RUNTIME)
    public @interface Configuration
    Used to annotate a SchedulableJob implementation with defined Parameter values. Parent classes can be annotated, in which case the child will inherit any defined parameters. If a child also defines Parameter values, they will be combined with the parent values, unless there is a name conflict, in which case the child value will replace the parent version.

    To completely replace a parent class' Configuration, set replaceInherited() to true on the child annotation.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean replaceInherited
      Indicates if any Configuration found on parent classes should be replaced by this, instead of being combined with it.
    • Element Detail

      • knownParameters

        Parameter[] knownParameters
      • replaceInherited

        boolean replaceInherited
        Indicates if any Configuration found on parent classes should be replaced by this, instead of being combined with it. In other words, when set to true, all parent class Configuration annotations are ignored.
        Returns:
        whether to replace inherited configuration
        Since:
        3.0
        Default:
        false