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()

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initialize(NodeBuilder builder, String workspaceName)
    Initialize the content of a new workspace.
  • Field Details

  • Method Details

    • initialize

      void initialize(NodeBuilder builder, 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.