MCPcopy Create free account
hub / github.com/SeLite/SeLite / registerChoices

Method registerChoices

filter/src/com/googlecode/selite/filter/Field.java:113–134  ·  view source on GitHub ↗

Register a list of choices. A commandline value will be matched against toString() of those choices, and a matched choice will be used. Since Run#get(Field) caches results of Field#get(Run), there's no need to pre-load the strings and targets of choices here.

( ArgumentParser parser, boolean optional, final T... choices )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

registerWithParserMethod · 0.80
registerWithParserMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected