public class DefaultNWorkspaceList extends Object implements NWorkspaceList
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNWorkspaceList() |
| Modifier and Type | Method and Description |
|---|---|
NWorkspace |
addWorkspace(String path) |
NWorkspaceListConfig |
getConfig() |
String |
getName() |
int |
getScore(NScorableContext context) |
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, waitofisValidScore, query, querypublic 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)
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorableCopyright © 2025 vpc open source initiative. All rights reserved.