public class NCmdLineMatcherImpl extends Object implements NCmdLineMatcher
| Constructor and Description |
|---|
NCmdLineMatcherImpl(NCmdLine cmdLine)
N cmd line matcher impl.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
anyMatch() |
boolean |
noMatch() |
void |
require() |
void |
requireAll() |
NCmdLineMatcherCondition |
when(String... names) |
NCmdLineMatcherCondition |
whenAny() |
NCmdLineMatcherCondition |
whenArg(Predicate<NArg> condition) |
NCmdLineMatcherCondition |
whenNonOption() |
NCmdLineMatcherCondition |
whenOption() |
NCmdLineMatcherCondition |
whenRaw(Predicate<NCmdLine> condition) |
NCmdLineMatcher |
with(NCmdLineProcessor processor) |
NCmdLineMatcher |
withDefaults() |
public NCmdLineMatcherImpl(NCmdLine cmdLine)
cmdLine - cmd linepublic NCmdLineMatcher with(NCmdLineProcessor processor)
with in interface NCmdLineMatcherpublic boolean noMatch()
noMatch in interface NCmdLineMatcherpublic boolean anyMatch()
anyMatch in interface NCmdLineMatcherpublic NCmdLineMatcherCondition whenAny()
whenAny in interface NCmdLineMatcherpublic NCmdLineMatcherCondition when(String... names)
when in interface NCmdLineMatcherpublic NCmdLineMatcherCondition whenRaw(Predicate<NCmdLine> condition)
whenRaw in interface NCmdLineMatcherpublic NCmdLineMatcherCondition whenArg(Predicate<NArg> condition)
whenArg in interface NCmdLineMatcherpublic NCmdLineMatcherCondition whenNonOption()
whenNonOption in interface NCmdLineMatcherpublic NCmdLineMatcherCondition whenOption()
whenOption in interface NCmdLineMatcherpublic NCmdLineMatcher withDefaults()
withDefaults in interface NCmdLineMatcherpublic void require()
require in interface NCmdLineMatcherpublic void requireAll()
requireAll in interface NCmdLineMatcherCopyright © 2026 vpc open source initiative. All rights reserved.