Exemplo n.º 1
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Truncate), "-truncate");
 }
Exemplo n.º 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");
 }
Exemplo n.º 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");
 }
Exemplo n.º 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");
 }