Class Builtin


  • public class Builtin
    extends java.lang.Object
    gosh built-in commands.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builtin()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object _new​(java.lang.Object name, java.lang.Object[] argv)  
      java.lang.CharSequence format​(org.apache.felix.service.command.CommandSession session)  
      java.lang.CharSequence format​(org.apache.felix.service.command.CommandSession session, java.lang.Object arg)  
      Option getopt​(java.util.List<java.lang.Object> spec, java.lang.Object[] args)
      script access to Options.
      void set​(org.apache.felix.service.command.CommandSession session, java.lang.String[] argv)  
      java.lang.Object tac​(org.apache.felix.service.command.CommandSession session, java.lang.String[] argv)  
      boolean type​(org.apache.felix.service.command.CommandSession session, java.lang.String[] argv)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builtin

        public Builtin()
    • Method Detail

      • format

        public java.lang.CharSequence format​(org.apache.felix.service.command.CommandSession session)
      • format

        public java.lang.CharSequence format​(org.apache.felix.service.command.CommandSession session,
                                             java.lang.Object arg)
      • getopt

        public Option getopt​(java.util.List<java.lang.Object> spec,
                             java.lang.Object[] args)
        script access to Options.
      • _new

        public java.lang.Object _new​(java.lang.Object name,
                                     java.lang.Object[] argv)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • set

        public void set​(org.apache.felix.service.command.CommandSession session,
                        java.lang.String[] argv)
                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • tac

        public java.lang.Object tac​(org.apache.felix.service.command.CommandSession session,
                                    java.lang.String[] argv)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • type

        public boolean type​(org.apache.felix.service.command.CommandSession session,
                            java.lang.String[] argv)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception