Class NGAlias


  • public class NGAlias
    extends java.lang.Object

    Provides a means to view and add aliases. This is aliased by default to the command "ng-alias".

    No command line validation is performed. If you trigger an exception, your client will display it.

    To view the current alias list, issue the command:

    ng-alias
    with no arguments.

    To add or replace an alias, issue the command:

    ng-alias [alias name] [fully qualified aliased class name]

    • Constructor Summary

      Constructors 
      Constructor Description
      NGAlias()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void nailMain​(NGContext context)  
      private static java.lang.String padl​(java.lang.String s, int len)  
      • Methods inherited from class java.lang.Object

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

      • NGAlias

        public NGAlias()
    • Method Detail

      • padl

        private static java.lang.String padl​(java.lang.String s,
                                             int len)
      • nailMain

        public static void nailMain​(NGContext context)
                             throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException