Interface WorkspaceInitializer

  • All Known Implementing Classes:
    CompositeWorkspaceInitializer

    public interface WorkspaceInitializer
    Initializer of a workspace and it's initial content. A module that needs to add content to a workspace can implement this interface.

    TODO: define if/how runtime configuration changes may affect the workspace content. TODO: review params of initialize()

    • Method Detail

      • initialize

        void initialize​(NodeBuilder builder,
                        java.lang.String workspaceName)
        Initialize the content of a new workspace. This method is called before the workspace becomes available.
        Parameters:
        builder - builder for accessing and modifying the workspace
        workspaceName - The name of the workspace that is being initialized.