Package org.apache.felix.gogo.shell
Class Builtin
java.lang.Object
org.apache.felix.gogo.shell.Builtin
gosh built-in commands.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat
(org.apache.felix.service.command.CommandSession session) private CharSequence
getClosureSource
(org.apache.felix.service.command.CommandSession session, String name) getCommands
(org.apache.felix.service.command.CommandSession session) getMethods
(org.apache.felix.service.command.CommandSession session, String scmd) script access to Options.private boolean
private boolean
private Class
<?> void
boolean
-
Field Details
-
functions
-
packages
-
KEYWORDS
-
-
Constructor Details
-
Builtin
public Builtin()
-
-
Method Details
-
format
-
format
-
getopt
script access to Options.- Parameters:
spec
- the specargs
- the args- Returns:
- Option
-
_new
public Object _new(org.apache.felix.service.command.CommandSession session, Object name, Object[] argv) throws Exception - Throws:
Exception
-
loadClass
private Class<?> loadClass(org.apache.felix.service.command.CommandSession session, String name) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
set
-
tac
public Object tac(org.apache.felix.service.command.CommandSession session, String[] argv) throws IOException - Throws:
IOException
-
type
public boolean type(org.apache.felix.service.command.CommandSession session, String[] argv) throws Exception - Throws:
Exception
-
getCommands
-
isClosure
-
isCommand
-
getClosureSource
private CharSequence getClosureSource(org.apache.felix.service.command.CommandSession session, String name) throws Exception - Throws:
Exception
-
getMethods
private List<Method> getMethods(org.apache.felix.service.command.CommandSession session, String scmd) throws Exception - Throws:
Exception
-