Class TreeRunnerContainer

java.lang.Object
com.aquima.interactions.framework.container.dtree.TreeRunnerContainer
All Implemented Interfaces:
IContainerExpander

public class TreeRunnerContainer extends Object implements IContainerExpander
This container runs a decisionTree either specified by a parameter or by a decisionTree selector in case the parameter is omitted.
Since:
5.0
Author:
F. van der Meer
  • Field Details

  • Constructor Details

    • TreeRunnerContainer

      public TreeRunnerContainer()
  • Method Details

    • expand

      public Container expand(Container container, ContainerDefinition definition, IContainerContext context)
      Description copied from interface: IContainerExpander
      This method is invoked by the composer to allow a custom component to expand the container definition. The resulting container will not be post processed, and will be included as-is in the page.

      During an expand call the following rules apply.

      The profile is read-only

      The profile should only be used to retrieve information. Note: for older projects this can be changed by changing the application configuration, however this is highly discouraged.

      Specified by:
      expand in interface IContainerExpander
      Parameters:
      container - The container without any child elements.
      definition - The container definition containing the child definitions.
      context - the context for usage within the function.
      Returns:
      A container which is used for the render action, and is never allowed to be null