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 static WorkspaceInitializer
DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialize(NodeBuilder builder, java.lang.String workspaceName)
Initialize the content of a new workspace.
-
-
-
Field Detail
-
DEFAULT
static final WorkspaceInitializer DEFAULT
-
-
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 workspaceworkspaceName
- The name of the workspace that is being initialized.
-
-