예제 #1
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Truncate), "-truncate");
 }
예제 #2
0
 /// <summary>Register the names for the count command</summary>
 /// <param name="factory">the command factory that will instantiate this class</param>
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Org.Apache.Hadoop.FS.Shell.Find.Find), "-find");
 }
예제 #3
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Display.Cat), "-cat");
     factory.AddClass(typeof(Display.Text), "-text");
     factory.AddClass(typeof(Display.Checksum), "-checksum");
 }
예제 #4
0
 /// <summary>Register the permission related commands with the factory</summary>
 /// <param name="factory">the command factory</param>
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(FsShellPermissions.Chmod), "-chmod");
     factory.AddClass(typeof(FsShellPermissions.Chown), "-chown");
     factory.AddClass(typeof(FsShellPermissions.Chgrp), "-chgrp");
 }