Class 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. TODO Create a TreeRunnerContainer++ for an easier and more transparent implementation and for easier usage by BE's (see AQU-4982).
    Since:
    5.0
    Author:
    F. van der Meer
    • Constructor Detail

      • TreeRunnerContainer

        public TreeRunnerContainer()
    • Method Detail

      • expand

        public Container expand​(Container container,
                                ContainerDefinition definition,
                                IContainerContext context)
                         throws AppException
        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
        Throws:
        AppException