public class DefaultNutsWorkspaceListManager extends Object implements net.thevpc.nuts.NutsWorkspaceListManager
| Constructor and Description |
|---|
DefaultNutsWorkspaceListManager(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsSession |
addWorkspace(String path,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsWorkspaceListConfig |
getConfig() |
String |
getName() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
net.thevpc.nuts.NutsWorkspaceLocation |
getWorkspaceLocation(String uuid) |
List<net.thevpc.nuts.NutsWorkspaceLocation> |
getWorkspaces() |
boolean |
removeWorkspace(String uuid,
net.thevpc.nuts.NutsSession session) |
void |
save(net.thevpc.nuts.NutsSession session) |
DefaultNutsWorkspaceListManager |
setConfig(net.thevpc.nuts.NutsWorkspaceListConfig config) |
DefaultNutsWorkspaceListManager |
setName(String name) |
DefaultNutsWorkspaceListManager |
setWorkspaces(Map<String,net.thevpc.nuts.NutsWorkspaceLocation> workspaces) |
public DefaultNutsWorkspaceListManager(net.thevpc.nuts.NutsSession session)
public DefaultNutsWorkspaceListManager setName(String name)
setName in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic String getName()
getName in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic List<net.thevpc.nuts.NutsWorkspaceLocation> getWorkspaces()
getWorkspaces in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic net.thevpc.nuts.NutsWorkspaceLocation getWorkspaceLocation(String uuid)
getWorkspaceLocation in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic net.thevpc.nuts.NutsWorkspaceListConfig getConfig()
getConfig in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic DefaultNutsWorkspaceListManager setConfig(net.thevpc.nuts.NutsWorkspaceListConfig config)
setConfig in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic net.thevpc.nuts.NutsSession addWorkspace(String path, net.thevpc.nuts.NutsSession session)
addWorkspace in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic boolean removeWorkspace(String uuid, net.thevpc.nuts.NutsSession session)
removeWorkspace in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic void save(net.thevpc.nuts.NutsSession session)
save in interface net.thevpc.nuts.NutsWorkspaceListManagerpublic DefaultNutsWorkspaceListManager setWorkspaces(Map<String,net.thevpc.nuts.NutsWorkspaceLocation> workspaces)
public int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.