Class NGAlias
- java.lang.Object
-
- com.martiansoftware.nailgun.builtins.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:
with no arguments.ng-alias
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)
-
-
-
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
-
-