Class DescriptionAdapter

    • Method Detail

      • toCommandDescription

        public static CommandDescription toCommandDescription​(CmdDesc cmdDesc)
        Converts an old CmdDesc to a new CommandDescription.
        Parameters:
        cmdDesc - the CmdDesc, may be null
        Returns:
        the CommandDescription, or null if input is null
      • toCmdLine

        public static CmdLine toCmdLine​(CommandLine commandLine)
        Converts a new CommandLine to an old CmdLine.
        Parameters:
        commandLine - the command line, may be null
        Returns:
        the CmdLine, or null if input is null
      • toCommandLine

        public static CommandLine toCommandLine​(CmdLine cmdLine)
        Converts an old CmdLine to a new CommandLine.
        Parameters:
        cmdLine - the CmdLine, may be null
        Returns:
        the CommandLine, or null if input is null
      • toArgumentDescription

        public static ArgumentDescription toArgumentDescription​(ArgDesc argDesc)
        Converts an old ArgDesc to a new ArgumentDescription.
        Parameters:
        argDesc - the ArgDesc, may be null
        Returns:
        the ArgumentDescription, or null if input is null