Class ActivityRunInstantiationContext<WD extends WorkDefinition,​AH extends ActivityHandler<WD,​AH>>

  • Type Parameters:
    WD - The definition of the work.

    public class ActivityRunInstantiationContext<WD extends WorkDefinition,​AH extends ActivityHandler<WD,​AH>>
    extends Object
    Context for instantiating activity run. It was originally provided as separate class because of the flexibility needed (root vs non-root activities). This is no longer true, so we have to decide about the future of this class.
    • Constructor Detail

      • ActivityRunInstantiationContext

        public ActivityRunInstantiationContext​(@NotNull
                                               @NotNull Activity<WD,​AH> activity,
                                               @NotNull
                                               @NotNull ActivityBasedTaskRun taskRun)