Class CmdLine.Builder

  • Enclosing class:
    CmdLine

    public static class CmdLine.Builder
    extends Object
    The type Builder.
    • Method Detail

      • forWindows

        public CmdLine.Builder forWindows()
        For windows builder.
        Returns:
        the builder
      • includeDirectory

        public CmdLine.Builder includeDirectory​(File includeDirectory)
        Include directory builder.
        Parameters:
        includeDirectory - the include directory
        Returns:
        the builder
      • name

        public CmdLine.Builder name​(String name)
        Name builder.
        Parameters:
        name - the name
        Returns:
        the builder
      • target

        public CmdLine.Builder target​(Object target)
        Target builder.
        Parameters:
        target - the target
        Returns:
        the builder
      • propertyFile

        public CmdLine.Builder propertyFile​(File propertyFile)
        Property file builder.
        Parameters:
        propertyFile - the property file
        Returns:
        the builder
      • help

        public CmdLine.Builder help​(String helpMessage)
        Help builder.
        Parameters:
        helpMessage - the help message
        Returns:
        the builder
      • commandPrefix

        public CmdLine.Builder commandPrefix​(char commandPrefix)
        Command prefix builder.
        Parameters:
        commandPrefix - the command prefix
        Returns:
        the builder
      • notPrefix

        public CmdLine.Builder notPrefix​(char notPrefix)
        Not prefix builder.
        Parameters:
        notPrefix - the not prefix
        Returns:
        the builder
      • args

        public CmdLine.Builder args​(String... args)
        Args builder.
        Parameters:
        args - the args
        Returns:
        the builder
      • parserType

        public CmdLine.Builder parserType​(ParserType parserType)
        Parser type builder.
        Parameters:
        parserType - the parser type
        Returns:
        the builder
      • build

        public CmdLine build()
        Build cmd line.
        Returns:
        the cmd line
      • getParseExceptions

        public List<ParseException> getParseExceptions()
        Gets parse exceptions.
        Returns:
        the parse exceptions