public class DefaultNWorkspaceList extends Object implements NWorkspaceList
| Constructor and Description |
|---|
DefaultNWorkspaceList() |
| Modifier and Type | Method and Description |
|---|---|
NWorkspace |
addWorkspace(String path) |
NWorkspaceListConfig |
getConfig() |
String |
getName() |
NWorkspaceLocation |
getWorkspaceLocation(String uuid) |
List<NWorkspaceLocation> |
getWorkspaces() |
boolean |
removeWorkspace(String uuid) |
void |
save() |
DefaultNWorkspaceList |
setConfig(NWorkspaceListConfig config) |
DefaultNWorkspaceList |
setName(String name) |
DefaultNWorkspaceList |
setWorkspaces(Map<String,NWorkspaceLocation> workspaces) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic DefaultNWorkspaceList setName(String name)
setName in interface NWorkspaceListpublic String getName()
getName in interface NWorkspaceListpublic List<NWorkspaceLocation> getWorkspaces()
getWorkspaces in interface NWorkspaceListpublic NWorkspaceLocation getWorkspaceLocation(String uuid)
getWorkspaceLocation in interface NWorkspaceListpublic NWorkspaceListConfig getConfig()
getConfig in interface NWorkspaceListpublic DefaultNWorkspaceList setConfig(NWorkspaceListConfig config)
setConfig in interface NWorkspaceListpublic NWorkspace addWorkspace(String path)
addWorkspace in interface NWorkspaceListpublic boolean removeWorkspace(String uuid)
removeWorkspace in interface NWorkspaceListpublic void save()
save in interface NWorkspaceListpublic DefaultNWorkspaceList setWorkspaces(Map<String,NWorkspaceLocation> workspaces)
Copyright © 2026 vpc open source initiative. All rights reserved.