|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.repository.ModeShapeConfiguration.ConfigurationDefinition
@Immutable public static class ModeShapeConfiguration.ConfigurationDefinition

Representation of the current configuration content.
| Constructor Summary | |
|---|---|
protected |
ModeShapeConfiguration.ConfigurationDefinition(String configurationName,
RepositorySource source,
String workspace,
Path path,
ExecutionContext context,
ClassLoaderFactory classLoaderFactory)
|
| Method Summary | |
|---|---|
ClassLoaderFactory |
getClassLoaderFactory()
|
ExecutionContext |
getContext()
|
String |
getName()
Get the name of this configuration. |
Path |
getPath()
Get the path in the configuration repository where the configuration content may be found |
RepositorySource |
getRepositorySource()
Get the repository source where the configuration content may be found |
String |
getWorkspace()
Get the name of the workspace used for the configuration repository. |
Graph |
graph()
Obtain a graph to this configuration repository. |
ModeShapeConfiguration.ConfigurationDefinition |
with(ClassLoaderFactory classLoaderFactory)
Return a copy of this configuration that uses the supplied class loader factory instead of this object's class loader factory. |
ModeShapeConfiguration.ConfigurationDefinition |
with(Path path)
Return a copy of this configuration that uses the supplied path instead of this object's path. |
ModeShapeConfiguration.ConfigurationDefinition |
with(String name)
Return a copy of this configuration that uses the supplied name instead of this object's path. |
ModeShapeConfiguration.ConfigurationDefinition |
withWorkspace(String workspace)
Return a copy of this configuration that uses the supplied workspace name instead of this object's workspace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ModeShapeConfiguration.ConfigurationDefinition(String configurationName,
RepositorySource source,
String workspace,
Path path,
ExecutionContext context,
ClassLoaderFactory classLoaderFactory)
| Method Detail |
|---|
public String getName()
public RepositorySource getRepositorySource()
public Path getPath()
public String getWorkspace()
public ExecutionContext getContext()
public ClassLoaderFactory getClassLoaderFactory()
public ModeShapeConfiguration.ConfigurationDefinition with(String name)
path.
name - the desired name for the new configuration; if null, then the name of this configuration is used
public ModeShapeConfiguration.ConfigurationDefinition with(Path path)
path.
path - the desired path for the new configuration; if null, then "/" is used
public ModeShapeConfiguration.ConfigurationDefinition withWorkspace(String workspace)
workspace.
workspace - the desired workspace name for the new configuration; if null, then the default workspace will be used
public ModeShapeConfiguration.ConfigurationDefinition with(ClassLoaderFactory classLoaderFactory)
class loader factory.
classLoaderFactory - the classloader factory, or null if the default factory should be used
public Graph graph()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||