public class DefaultNutsCommandLineManager extends Object implements NutsCommandLineManager
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNutsCommandLineManager.Factory |
| Constructor and Description |
|---|
DefaultNutsCommandLineManager(NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSession() |
NutsCommandLine |
create(List<String> args) |
NutsCommandLine |
create(String... args) |
NutsArgument |
createArgument(String argument) |
NutsArgumentCandidateBuilder |
createCandidate() |
NutsCommandHistoryBuilder |
createHistory() |
NutsArgumentName |
createName(String type) |
NutsArgumentName |
createName(String type,
String label) |
NutsCommandLineFormat |
formatter() |
NutsCommandLineFormat |
formatter(NutsCommandLine commandLine) |
NutsCommandlineFamily |
getCommandlineFamily() |
NutsSession |
getSession() |
NutsWorkspace |
getWorkspace() |
NutsCommandLine |
parse(String line) |
NutsCommandLineManager |
setCommandlineFamily(NutsCommandlineFamily family) |
NutsCommandLineManager |
setSession(NutsSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCandidatepublic DefaultNutsCommandLineManager(NutsWorkspace ws)
public NutsSession getSession()
getSession in interface NutsCommandLineManagerpublic NutsCommandLineManager setSession(NutsSession session)
setSession in interface NutsCommandLineManagerpublic NutsCommandlineFamily getCommandlineFamily()
getCommandlineFamily in interface NutsCommandLineManagerpublic NutsCommandLineManager setCommandlineFamily(NutsCommandlineFamily family)
setCommandlineFamily in interface NutsCommandLineManagerpublic NutsWorkspace getWorkspace()
public NutsCommandLineFormat formatter(NutsCommandLine commandLine)
formatter in interface NutsCommandLineManagerpublic NutsCommandLineFormat formatter()
formatter in interface NutsCommandLineManagerpublic NutsCommandLine parse(String line)
parse in interface NutsCommandLineManagerprotected void checkSession()
public NutsCommandLine create(String... args)
create in interface NutsCommandLineManagerpublic NutsCommandLine create(List<String> args)
create in interface NutsCommandLineManagerpublic NutsArgumentCandidateBuilder createCandidate()
createCandidate in interface NutsCommandLineManagerpublic NutsArgument createArgument(String argument)
createArgument in interface NutsCommandLineManagerpublic NutsArgumentName createName(String type, String label)
createName in interface NutsCommandLineManagerpublic NutsArgumentName createName(String type)
createName in interface NutsCommandLineManagerpublic NutsCommandHistoryBuilder createHistory()
createHistory in interface NutsCommandLineManagerCopyright © 2021 vpc open source initiative. All rights reserved.