@Immutable public class RepositoryConfiguration.InitialContent extends Object
| Constructor and Description |
|---|
RepositoryConfiguration.InitialContent(Document workspaces) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInitialContentFile(String workspaceName)
Returns the initial content file configured for the workspace with the given name.
|
boolean |
hasInitialContentFile(String workspaceName)
Checks if there is an initial content file configured for the given workspace.
|
public RepositoryConfiguration.InitialContent(Document workspaces)
public boolean hasInitialContentFile(String workspaceName)
workspaceName - a non-null String representing the name of a workspacetrue if either there's an initial file configured specifically for the workspace or there's a default
file which applies to all the workspaces.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.