public class ConfigNutsWorkspaceCommandFactory extends Object implements NutsWorkspaceCommandFactory
| Constructor and Description |
|---|
ConfigNutsWorkspaceCommandFactory(NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
protected NutsLogger |
_LOG(NutsSession session) |
protected NutsLoggerOp |
_LOGOP(NutsSession session) |
protected void |
checkSession(NutsSession session) |
void |
configure(NutsCommandFactoryConfig config) |
NutsCommandConfig |
findCommand(String name,
NutsSession session) |
List<NutsCommandConfig> |
findCommands(NutsId id,
NutsSession session) |
List<NutsCommandConfig> |
findCommands(NutsSession session) |
List<NutsCommandConfig> |
findCommands(Predicate<NutsCommandConfig> filter,
NutsSession session) |
String |
getFactoryId() |
int |
getPriority() |
Path |
getStoreLocation(NutsSession session) |
void |
installCommand(NutsCommandConfig command,
NutsSession session) |
void |
uninstallCommand(String name,
NutsSession session) |
public ConfigNutsWorkspaceCommandFactory(NutsWorkspace ws)
protected NutsLoggerOp _LOGOP(NutsSession session)
protected NutsLogger _LOG(NutsSession session)
public void configure(NutsCommandFactoryConfig config)
configure in interface NutsWorkspaceCommandFactorypublic String getFactoryId()
getFactoryId in interface NutsWorkspaceCommandFactorypublic Path getStoreLocation(NutsSession session)
public int getPriority()
getPriority in interface NutsWorkspaceCommandFactorypublic void uninstallCommand(String name, NutsSession session)
protected void checkSession(NutsSession session)
public void installCommand(NutsCommandConfig command, NutsSession session)
public NutsCommandConfig findCommand(String name, NutsSession session)
findCommand in interface NutsWorkspaceCommandFactorypublic List<NutsCommandConfig> findCommands(NutsSession session)
findCommands in interface NutsWorkspaceCommandFactorypublic List<NutsCommandConfig> findCommands(NutsId id, NutsSession session)
public List<NutsCommandConfig> findCommands(Predicate<NutsCommandConfig> filter, NutsSession session)
Copyright © 2021 vpc open source initiative. All rights reserved.