[HapProcess] Give a method to get the result of command line parsing.

Paring the command line argument is done in the constructor so that
a virtual method cannot work.