public class DefaultNCmdLines extends Object implements NCmdLines
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNCmdLines.Factory |
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNCmdLines() |
| Modifier and Type | Method and Description |
|---|---|
NArgName |
createName(String type) |
NArgName |
createName(String type,
String label) |
int |
getScore(NScorableContext context) |
NShellFamily |
getShellFamily() |
boolean |
isLenient() |
NCmdLine |
of(String[] args) |
NOptional<NCmdLine> |
parseCmdLine(String line) |
NCmdLines |
setLenient(boolean lenient) |
NCmdLines |
setShellFamily(NShellFamily family) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidScore, query, querypublic NCmdLines setLenient(boolean lenient)
setLenient in interface NCmdLinespublic NShellFamily getShellFamily()
getShellFamily in interface NCmdLinespublic NCmdLines setShellFamily(NShellFamily family)
setShellFamily in interface NCmdLinespublic NOptional<NCmdLine> parseCmdLine(String line)
parseCmdLine in interface NCmdLinespublic NArgName createName(String type, String label)
createName in interface NCmdLinespublic NArgName createName(String type)
createName in interface NCmdLinespublic int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorableCopyright © 2025 vpc open source initiative. All rights reserved.