public class DefaultNshFunctionManager extends Object implements NshFunctionManager
| Modifier and Type | Field and Description |
|---|---|
Map |
internalFunctions |
| Constructor and Description |
|---|
DefaultNshFunctionManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsFunction(String cmd) |
void |
declareFunction(NshFunction cmd) |
void |
declareFunctions(NshFunction... cmds) |
NshFunction |
findFunction(String n) |
NshFunction[] |
getAll() |
boolean |
unset(String cmd) |
public final Map internalFunctions
public NshFunction findFunction(String n)
findFunction in interface NshFunctionManagerpublic void declareFunction(NshFunction cmd)
declareFunction in interface NshFunctionManagerpublic void declareFunctions(NshFunction... cmds)
declareFunctions in interface NshFunctionManagerpublic boolean containsFunction(String cmd)
containsFunction in interface NshFunctionManagerpublic boolean unset(String cmd)
unset in interface NshFunctionManagerpublic NshFunction[] getAll()
getAll in interface NshFunctionManagerCopyright © 2026 vpc open source initiative. All rights reserved.