public class WorkspaceService extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkspaceService.ScanResult |
| Constructor and Description |
|---|
WorkspaceService(net.thevpc.nuts.NutsApplicationContext appContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
enableScan(net.thevpc.nuts.NutsCommandLine commandLine,
net.thevpc.nuts.NutsApplicationContext context,
boolean enable) |
int |
find(List<File> folders,
String where) |
void |
find(net.thevpc.nuts.NutsCommandLine cmdLine,
net.thevpc.nuts.NutsApplicationContext context) |
List<ProjectService> |
findProjectServices() |
net.thevpc.nuts.NutsPath |
getConfigFile() |
WorkspaceConfig |
getWorkspaceConfig() |
boolean |
isScanEnabled(File folder) |
void |
list(net.thevpc.nuts.NutsCommandLine cmd,
net.thevpc.nuts.NutsApplicationContext appContext) |
void |
resetAllProjectServices() |
int |
scan(List<File> folders,
boolean interactive) |
void |
scan(net.thevpc.nuts.NutsCommandLine cmdLine,
net.thevpc.nuts.NutsApplicationContext context) |
void |
setScanEnabled(Path folder,
boolean enable) |
void |
setWorkspaceConfig(WorkspaceConfig c) |
int |
setWorkspaceConfigParam(net.thevpc.nuts.NutsCommandLine cmd,
net.thevpc.nuts.NutsApplicationContext appContext) |
void |
status(net.thevpc.nuts.NutsCommandLine cmd,
net.thevpc.nuts.NutsApplicationContext appContext) |
static String |
wildcardToRegex(String pattern) |
public static final String SCAN
public WorkspaceService(net.thevpc.nuts.NutsApplicationContext appContext)
public WorkspaceConfig getWorkspaceConfig()
public void setWorkspaceConfig(WorkspaceConfig c)
public void enableScan(net.thevpc.nuts.NutsCommandLine commandLine,
net.thevpc.nuts.NutsApplicationContext context,
boolean enable)
public void list(net.thevpc.nuts.NutsCommandLine cmd,
net.thevpc.nuts.NutsApplicationContext appContext)
public void scan(net.thevpc.nuts.NutsCommandLine cmdLine,
net.thevpc.nuts.NutsApplicationContext context)
public void find(net.thevpc.nuts.NutsCommandLine cmdLine,
net.thevpc.nuts.NutsApplicationContext context)
public void status(net.thevpc.nuts.NutsCommandLine cmd,
net.thevpc.nuts.NutsApplicationContext appContext)
public net.thevpc.nuts.NutsPath getConfigFile()
public void resetAllProjectServices()
public List<ProjectService> findProjectServices()
public void setScanEnabled(Path folder, boolean enable)
public boolean isScanEnabled(File folder)
public int setWorkspaceConfigParam(net.thevpc.nuts.NutsCommandLine cmd,
net.thevpc.nuts.NutsApplicationContext appContext)
Copyright © 2022 vpc open source initiative. All rights reserved.