Exemplo n.º 1
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Stat), "-stat");
 }
Exemplo n.º 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");
 }
Exemplo n.º 3
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Org.Apache.Hadoop.FS.Shell.Test), "-test");
 }
Exemplo n.º 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);
 }
Exemplo n.º 5
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(XAttrCommands.GetfattrCommand), "-" + GetFattr);
     factory.AddClass(typeof(XAttrCommands.SetfattrCommand), "-" + SetFattr);
 }
Exemplo n.º 6
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Mkdir), "-mkdir");
 }
Exemplo n.º 7
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Touch.Touchz), "-touchz");
 }
Exemplo n.º 8
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(SetReplication), "-setrep");
 }
Exemplo n.º 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");
 }
Exemplo n.º 10
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(LS), "-ls");
     factory.AddClass(typeof(LS.Lsr), "-lsr");
 }
Exemplo n.º 11
0
 /// <summary>sets the command factory for later use</summary>
 public virtual void SetCommandFactory(CommandFactory factory)
 {
     this.commandFactory = factory;
 }