public class DefaultCustomCommandManager extends Object implements net.thevpc.nuts.NutsCustomCommandManager
| Modifier and Type | Field and Description |
|---|---|
DefaultCustomCommandsModel |
model |
net.thevpc.nuts.NutsSession |
session |
| Constructor and Description |
|---|
DefaultCustomCommandManager(DefaultCustomCommandsModel model) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addCommand(net.thevpc.nuts.NutsCommandConfig command) |
void |
addCommandFactory(net.thevpc.nuts.NutsCommandFactoryConfig commandFactoryConfig) |
boolean |
commandExists(String command) |
boolean |
commandFactoryExists(String factoryId) |
List<net.thevpc.nuts.NutsWorkspaceCustomCommand> |
findAllCommands() |
net.thevpc.nuts.NutsWorkspaceCustomCommand |
findCommand(String name) |
net.thevpc.nuts.NutsWorkspaceCustomCommand |
findCommand(String name,
net.thevpc.nuts.NutsId forId,
net.thevpc.nuts.NutsId forOwner) |
List<net.thevpc.nuts.NutsWorkspaceCustomCommand> |
findCommandsByOwner(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsCommandFactoryConfig[] |
getCommandFactories() |
net.thevpc.nuts.NutsSession |
getSession() |
void |
removeCommand(String command) |
void |
removeCommandFactory(String commandFactoryId) |
boolean |
removeCommandFactoryIfExists(String commandFactoryId) |
boolean |
removeCommandIfExists(String name) |
net.thevpc.nuts.NutsCustomCommandManager |
setSession(net.thevpc.nuts.NutsSession session) |
boolean |
updateCommand(net.thevpc.nuts.NutsCommandConfig command) |
public DefaultCustomCommandsModel model
public net.thevpc.nuts.NutsSession session
public DefaultCustomCommandManager(DefaultCustomCommandsModel model)
public net.thevpc.nuts.NutsCommandFactoryConfig[] getCommandFactories()
getCommandFactories in interface net.thevpc.nuts.NutsCustomCommandManagerpublic void addCommandFactory(net.thevpc.nuts.NutsCommandFactoryConfig commandFactoryConfig)
addCommandFactory in interface net.thevpc.nuts.NutsCustomCommandManagerpublic void removeCommandFactory(String commandFactoryId)
removeCommandFactory in interface net.thevpc.nuts.NutsCustomCommandManagerpublic boolean removeCommandFactoryIfExists(String commandFactoryId)
removeCommandFactoryIfExists in interface net.thevpc.nuts.NutsCustomCommandManagerpublic boolean commandExists(String command)
commandExists in interface net.thevpc.nuts.NutsCustomCommandManagerpublic boolean commandFactoryExists(String factoryId)
commandFactoryExists in interface net.thevpc.nuts.NutsCustomCommandManagerpublic boolean addCommand(net.thevpc.nuts.NutsCommandConfig command)
addCommand in interface net.thevpc.nuts.NutsCustomCommandManagerpublic boolean updateCommand(net.thevpc.nuts.NutsCommandConfig command)
updateCommand in interface net.thevpc.nuts.NutsCustomCommandManagerpublic void removeCommand(String command)
removeCommand in interface net.thevpc.nuts.NutsCustomCommandManagerpublic boolean removeCommandIfExists(String name)
removeCommandIfExists in interface net.thevpc.nuts.NutsCustomCommandManagerpublic net.thevpc.nuts.NutsWorkspaceCustomCommand findCommand(String name, net.thevpc.nuts.NutsId forId, net.thevpc.nuts.NutsId forOwner)
findCommand in interface net.thevpc.nuts.NutsCustomCommandManagerpublic net.thevpc.nuts.NutsWorkspaceCustomCommand findCommand(String name)
findCommand in interface net.thevpc.nuts.NutsCustomCommandManagerpublic List<net.thevpc.nuts.NutsWorkspaceCustomCommand> findAllCommands()
findAllCommands in interface net.thevpc.nuts.NutsCustomCommandManagerpublic List<net.thevpc.nuts.NutsWorkspaceCustomCommand> findCommandsByOwner(net.thevpc.nuts.NutsId id)
findCommandsByOwner in interface net.thevpc.nuts.NutsCustomCommandManagerpublic net.thevpc.nuts.NutsSession getSession()
getSession in interface net.thevpc.nuts.NutsCustomCommandManagerpublic net.thevpc.nuts.NutsCustomCommandManager setSession(net.thevpc.nuts.NutsSession session)
setSession in interface net.thevpc.nuts.NutsCustomCommandManagerCopyright © 2021 vpc open source initiative. All rights reserved.