Results 1 to 3 of 3

Thread: Flow Inheritance and Custom Flow Builder

  1. #1
    Join Date
    Aug 2008
    Posts
    6

    Default Flow Inheritance and Custom Flow Builder

    I am looking into how to add implement custom Flow Builder. It seems that you can accomplish a lot extending by extending the AbstractFlowBuilder.
    However, I do not see how you can specify that certain flow is inheriting the other flow through AbstractFlowBuilder. How would you go about implementing custom flow builder that can also specify a parent flow as a part of flow definition construction process?
    Any hint appreciated.

  2. #2
    Join Date
    Aug 2008
    Posts
    6

    Default Flow Builder hierarchy - flawed?

    After spending some time on investigating the subject, it seems that implementing custom Flow Builder based on AbstractFlowBuilder and in the same time supporting flow inheritance is not trivial.
    Flow inheritance merger code is implemented in XmlFlowModelBuilder, so unless you extend XmlFlowModelBuilder class, you will have to write your own (and duplicate existing!) merger code.
    On the other hand XmlFlowModelBuilder implements FlowModelBuilder interface but does not extend AbstractFlowBuilder or FlowModelFlowBuilder, although employs FlowModel to build a flow.
    It seems to me that merger code belong to a FlowModelFlowBuilder or even AbstractFlowBuilder class.

  3. #3
    Join Date
    Jan 2008
    Location
    Spain - España
    Posts
    37

    Default

    Hi all,
    ¿Does anybody implement custom flow builder?, I need it, and I have the same problem. Would welcome any information about it.
    Thanks a lot,
    Regards

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •