Annotation Type ProcessorExecution


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Experimental
    public @interface ProcessorExecution
    Specifies requirements on execution of processor methods through ClockworkMedic.partialExecute and related methods.

    Beware that these requirements apply to all methods callable via ClockworkMedic (ProcessorMethod).

    In the future we might consider declaring execution requirements directly for those methods.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean focusRequired
      Is the focus context required? (Usually yes, but let's be explicit.)
      Class<? extends ObjectType> focusType
      What kind of focus there should be in order for the processor methods to be executed? Checked only if focusRequired = true.
      boolean skipWhenFocusDeleted
      Should the methods execution be skipped if the focus is going to be deleted?
      boolean skipWhenProjectionDeleted
      Should the execution be skipped if the projection is to be deleted? (We should perhaps make this more flexible in the future.)
    • Element Detail

      • focusRequired

        boolean focusRequired
        Is the focus context required? (Usually yes, but let's be explicit.)
        Default:
        false
      • focusType

        Class<? extends ObjectType> focusType
        What kind of focus there should be in order for the processor methods to be executed? Checked only if focusRequired = true.
        Default:
        com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType.class
      • skipWhenFocusDeleted

        boolean skipWhenFocusDeleted
        Should the methods execution be skipped if the focus is going to be deleted?
        Default:
        false
      • skipWhenProjectionDeleted

        boolean skipWhenProjectionDeleted
        Should the execution be skipped if the projection is to be deleted? (We should perhaps make this more flexible in the future.)
        Default:
        false