public class DefaultCustomCommandsModel extends Object
| Constructor and Description |
|---|
DefaultCustomCommandsModel(net.thevpc.nuts.NWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
protected net.thevpc.nuts.log.NLogOp |
_LOGOP() |
boolean |
add(net.thevpc.nuts.NCommandConfig command) |
void |
addFactory(net.thevpc.nuts.NCommandFactoryConfig commandFactoryConfig) |
boolean |
commandFactoryExists(String factoryId) |
net.thevpc.nuts.NCustomCmd |
find(String name) |
net.thevpc.nuts.NCustomCmd |
find(String name,
net.thevpc.nuts.NId forId,
net.thevpc.nuts.NId forOwner) |
List<net.thevpc.nuts.NCustomCmd> |
findAll() |
List<net.thevpc.nuts.NCustomCmd> |
findByOwner(net.thevpc.nuts.NId id) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NExecCmdExtension> |
getExecCmdExtension(String target) |
net.thevpc.nuts.NCommandFactoryConfig[] |
getFactories() |
Map<String,NInternalCommand> |
getInternalCommands() |
net.thevpc.nuts.NWorkspace |
getWorkspace() |
void |
remove(String name) |
void |
removeFactory(String factoryId) |
boolean |
removeFactory(String factoryId,
boolean error) |
boolean |
removeFactoryIfExists(String factoryId) |
boolean |
update(net.thevpc.nuts.NCommandConfig command) |
public DefaultCustomCommandsModel(net.thevpc.nuts.NWorkspace ws)
protected net.thevpc.nuts.log.NLogOp _LOGOP()
protected net.thevpc.nuts.log.NLog _LOG()
public void addFactory(net.thevpc.nuts.NCommandFactoryConfig commandFactoryConfig)
public boolean removeFactoryIfExists(String factoryId)
public void removeFactory(String factoryId)
public boolean commandFactoryExists(String factoryId)
public boolean removeFactory(String factoryId, boolean error)
public boolean add(net.thevpc.nuts.NCommandConfig command)
public boolean update(net.thevpc.nuts.NCommandConfig command)
public void remove(String name)
public net.thevpc.nuts.NCustomCmd find(String name)
public List<net.thevpc.nuts.NCustomCmd> findAll()
public List<net.thevpc.nuts.NCustomCmd> findByOwner(net.thevpc.nuts.NId id)
public net.thevpc.nuts.NCommandFactoryConfig[] getFactories()
public net.thevpc.nuts.NCustomCmd find(String name, net.thevpc.nuts.NId forId, net.thevpc.nuts.NId forOwner)
public net.thevpc.nuts.NWorkspace getWorkspace()
public Map<String,NInternalCommand> getInternalCommands()
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NExecCmdExtension> getExecCmdExtension(String target)
Copyright © 2025 vpc open source initiative. All rights reserved.