Class StoreConstArgumentAction

java.lang.Object
net.sourceforge.argparse4j.impl.action.StoreConstArgumentAction
All Implemented Interfaces:
ArgumentAction

public class StoreConstArgumentAction extends Object implements ArgumentAction

Argument action to store the value specified by the Argument.setConst(Object).

Note that by default const value is null. This action is most commonly used with optional arguments that specify sort of flags. consumeArgument() always returns false.

  • Constructor Details

    • StoreConstArgumentAction

      public StoreConstArgumentAction()
  • Method Details