Annotation Type All


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface All
    Sets an array parameter to all causes of the array component type in the cause chain. The type of a parameter annotated with this annotation MUST be an array type.
    See Also:
    Cause.allOf(Class)
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean ignoreEmpty
      Whether this listener should be skipped if the array would be empty.
    • Element Detail

      • ignoreEmpty

        boolean ignoreEmpty
        Whether this listener should be skipped if the array would be empty.
        Returns:
        Should ignore if empty
        Default:
        true