Class Merge


  • public class Merge
    extends Command
    The merge command.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.io.File destfile  
      (package private) java.util.List<java.io.File> execfiles  
    • Constructor Summary

      Constructors 
      Constructor Description
      Merge()  
    • Field Detail

      • execfiles

        java.util.List<java.io.File> execfiles
      • destfile

        java.io.File destfile
    • Constructor Detail

      • Merge

        public Merge()
    • Method Detail

      • description

        public java.lang.String description()
        Specified by:
        description in class Command
        Returns:
        Short description of the command.
      • execute

        public int execute​(java.io.PrintWriter out,
                           java.io.PrintWriter err)
                    throws java.io.IOException
        Description copied from class: Command
        Executes the given command.
        Specified by:
        execute in class Command
        Parameters:
        out - std out
        err - std err
        Returns:
        exit code, should be 0 for normal operation
        Throws:
        java.io.IOException
      • loadExecutionData

        private ExecFileLoader loadExecutionData​(java.io.PrintWriter out)
                                          throws java.io.IOException
        Throws:
        java.io.IOException