Class RemoveCommentsHandler

  • All Implemented Interfaces:
    CommandLineHandler

    public class RemoveCommentsHandler
    extends java.lang.Object
    implements CommandLineHandler
    The handler processing the flag to clear all sources in the destination directory from inside comments
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String ARG_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Get the description of the key (it will be printed into the help text)
      java.lang.String getKeyName()
      Get the key name for the handler
      boolean processCommandLineKey​(java.lang.String argument, PreprocessorContext configurator)
      Process a command line key
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemoveCommentsHandler

        public RemoveCommentsHandler()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: CommandLineHandler
        Get the description of the key (it will be printed into the help text)
        Specified by:
        getDescription in interface CommandLineHandler
        Returns:
        the description as a String
      • processCommandLineKey

        public boolean processCommandLineKey​(java.lang.String argument,
                                             PreprocessorContext configurator)
        Description copied from interface: CommandLineHandler
        Process a command line key
        Specified by:
        processCommandLineKey in interface CommandLineHandler
        Parameters:
        argument - the command line key to be processed, must not be null
        configurator - the preprocessor context, must not be null
        Returns:
        true if the key has been recognized and processed else false
      • getKeyName

        public java.lang.String getKeyName()
        Description copied from interface: CommandLineHandler
        Get the key name for the handler
        Specified by:
        getKeyName in interface CommandLineHandler
        Returns:
        the key name as a String, must not be null