Annotation Interface DisallowRunOnce


@Documented @Target(TYPE) @Retention(RUNTIME) @Inherited public @interface DisallowRunOnce

Marker annotation a Processor implementation can use to indicate that the Processor is not designed in such a way that the 'Run Once' capability would function.

Some processors need many execution cycles to perform any meaningful work and as such the user triggering a 'Run Once' execution will likely result in no response or outcome at all.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    An optional explanation for why run once is not supported
  • Element Details

    • explanation

      String explanation
      An optional explanation for why run once is not supported
      Returns:
      explanation string that may end up being shared with users