Class UntrackedFilesHandler


  • public class UntrackedFilesHandler
    extends org.kohsuke.args4j.spi.StringOptionHandler
    Special handler for the --untracked-files option of the status command. The following rules apply:
    • If no mode is given, i.e. just --untracked-files is passed, then it is the same as --untracked-files=all
    • If the -u alias is passed then it is the same as --untracked-files
    • If the -uno alias is passed then it is the same as --untracked-files=no
    • If the -uall alias is passed then it is the same as --untracked-files=all
    Since:
    4.0
    • Field Summary

      • Fields inherited from class org.kohsuke.args4j.spi.OptionHandler

        option, owner, setter
    • Constructor Summary

      Constructors 
      Constructor Description
      UntrackedFilesHandler​(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super String> setter)
      Constructor for UntrackedFilesHandler.
    • Constructor Detail

      • UntrackedFilesHandler

        public UntrackedFilesHandler​(org.kohsuke.args4j.CmdLineParser parser,
                                     org.kohsuke.args4j.OptionDef option,
                                     org.kohsuke.args4j.spi.Setter<? super String> setter)

        Constructor for UntrackedFilesHandler.

        Parameters:
        parser - The parser to which this handler belongs to.
        option - The annotation.
        setter - Object to be used for setting value.
    • Method Detail

      • parseArguments

        public int parseArguments​(org.kohsuke.args4j.spi.Parameters params)
                           throws org.kohsuke.args4j.CmdLineException
        Overrides:
        parseArguments in class org.kohsuke.args4j.spi.StringOptionHandler
        Throws:
        org.kohsuke.args4j.CmdLineException