Exemple #1
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Stat), "-stat");
 }
Exemple #2
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(FsUsage.DF), "-df");
     factory.AddClass(typeof(FsUsage.DU), "-du");
     factory.AddClass(typeof(FsUsage.Dus), "-dus");
 }
Exemple #3
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Org.Apache.Hadoop.FS.Shell.Test), "-test");
 }
Exemple #4
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(SnapshotCommands.CreateSnapshot), "-" + CreateSnapshot);
     factory.AddClass(typeof(SnapshotCommands.DeleteSnapshot), "-" + DeleteSnapshot);
     factory.AddClass(typeof(SnapshotCommands.RenameSnapshot), "-" + RenameSnapshot);
 }
Exemple #5
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(XAttrCommands.GetfattrCommand), "-" + GetFattr);
     factory.AddClass(typeof(XAttrCommands.SetfattrCommand), "-" + SetFattr);
 }
Exemple #6
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Mkdir), "-mkdir");
 }
Exemple #7
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Touch.Touchz), "-touchz");
 }
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(SetReplication), "-setrep");
 }
Exemple #9
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(MoveCommands.MoveFromLocal), "-moveFromLocal");
     factory.AddClass(typeof(MoveCommands.MoveToLocal), "-moveToLocal");
     factory.AddClass(typeof(MoveCommands.Rename), "-mv");
 }
Exemple #10
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(LS), "-ls");
     factory.AddClass(typeof(LS.Lsr), "-lsr");
 }
Exemple #11
0
 /// <summary>sets the command factory for later use</summary>
 public virtual void SetCommandFactory(CommandFactory factory)
 {
     this.commandFactory = factory;
 }