public class DefaultNutsWorkspaceListManager extends Object implements net.thevpc.nuts.NutsWorkspaceListManager
| Constructor and Description |
|---|
DefaultNutsWorkspaceListManager(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session,
String name) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsWorkspace |
addWorkspace(String path,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsWorkspaceListConfig |
getConfig() |
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 |
setWorkspaces(Map<String,net.thevpc.nuts.NutsWorkspaceLocation> workspaces) |
public DefaultNutsWorkspaceListManager(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session,
String name)
public 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.NutsWorkspace 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)
Copyright © 2021 vpc open source initiative. All rights reserved.