public class DefaultNWorkspaceList extends Object implements NWorkspaceList
| Constructor and Description |
|---|
DefaultNWorkspaceList() |
| Modifier and Type | Method and Description |
|---|---|
NWorkspace |
addWorkspace(String path) |
NWorkspaceListConfig |
config() |
DefaultNWorkspaceList |
config(NWorkspaceListConfig config) |
NWorkspaceLocation |
getWorkspaceLocation(String uuid) |
String |
name() |
DefaultNWorkspaceList |
name(String name) |
boolean |
removeWorkspace(String uuid) |
void |
save() |
DefaultNWorkspaceList |
setWorkspaces(Map<String,NWorkspaceLocation> workspaces) |
List<NWorkspaceLocation> |
workspaces() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic DefaultNWorkspaceList name(String name)
name in interface NWorkspaceListpublic String name()
name in interface NWorkspaceListpublic List<NWorkspaceLocation> workspaces()
workspaces in interface NWorkspaceListpublic NWorkspaceLocation getWorkspaceLocation(String uuid)
getWorkspaceLocation in interface NWorkspaceListpublic NWorkspaceListConfig config()
config in interface NWorkspaceListpublic DefaultNWorkspaceList config(NWorkspaceListConfig config)
config 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.