public class DefaultJShellFunctionManager extends Object implements JShellFunctionManager
| Modifier and Type | Field and Description |
|---|---|
Map |
internalFunctions |
| Constructor and Description |
|---|
DefaultJShellFunctionManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsFunction(String cmd) |
void |
declareFunction(JShellFunction cmd) |
void |
declareFunctions(JShellFunction... cmds) |
JShellFunction |
findFunction(String n) |
JShellFunction[] |
getAll() |
boolean |
unset(String cmd) |
public final Map internalFunctions
public JShellFunction findFunction(String n)
findFunction in interface JShellFunctionManagerpublic void declareFunction(JShellFunction cmd)
declareFunction in interface JShellFunctionManagerpublic void declareFunctions(JShellFunction... cmds)
declareFunctions in interface JShellFunctionManagerpublic boolean containsFunction(String cmd)
containsFunction in interface JShellFunctionManagerpublic boolean unset(String cmd)
unset in interface JShellFunctionManagerpublic JShellFunction[] getAll()
getAll in interface JShellFunctionManagerCopyright © 2022 vpc open source initiative. All rights reserved.