Interface ActivityHandler<WD extends WorkDefinition,​AH extends ActivityHandler<WD,​AH>>

    • Method Detail

      • getIdentifierPrefix

        default String getIdentifierPrefix()
      • getRootActivityStateDefinition

        @NotNull
        default @NotNull ActivityStateDefinition<?> getRootActivityStateDefinition()
        Returns state definition for standalone (root) activity paired with this handler. Definitions for embedded activities are provided by activities themselves, which are returned by createChildActivities(Activity) method.
      • getDefaultArchetypeOid

        @Nullable
        default @Nullable String getDefaultArchetypeOid()
        Returns task archetype OID connected to this activity handler. When a generic task starts, it is given an archetype based on the activity handler for the task's main activity. (If not set before.)