public class DefaultNInfoCmd extends DefaultFormatBase<NInfoCmd> implements NInfoCmd
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNInfoCmd(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
NInfoCmd |
addProperties(Map<String,String> customProperties) |
NInfoCmd |
addProperty(String key,
String value) |
boolean |
configureFirst(NCmdLine cmdLine) |
NOptional<Object> |
getPropertyValue(String propertyName) |
Map<String,Object> |
getPropertyValues() |
int |
getScore(NScorableContext context) |
boolean |
isFancy() |
boolean |
isLenient() |
boolean |
isShowRepositories() |
void |
print(NPrintStream w) |
NWorkspaceCmd |
run() |
NInfoCmd |
setFancy(boolean fancy) |
NInfoCmd |
setLenient(boolean lenient) |
NInfoCmd |
setNtf(boolean ntf) |
NInfoCmd |
setShowRepositories(boolean enable) |
format, formatPlain, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringconfigure, getName, isNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitformat, formatPlain, isNtf, of, of, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringconfigure, configure, configureLastisValidScore, query, querypublic DefaultNInfoCmd(NWorkspace workspace)
public NInfoCmd addProperty(String key, String value)
addProperty in interface NInfoCmdpublic NInfoCmd addProperties(Map<String,String> customProperties)
addProperties in interface NInfoCmdpublic boolean isShowRepositories()
isShowRepositories in interface NInfoCmdpublic NInfoCmd setShowRepositories(boolean enable)
setShowRepositories in interface NInfoCmdpublic void print(NPrintStream w)
print in interface NFormatprint in class DefaultFormatBase<NInfoCmd>public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic Map<String,Object> getPropertyValues()
getPropertyValues in interface NInfoCmdpublic NOptional<Object> getPropertyValue(String propertyName)
getPropertyValue in interface NInfoCmdpublic boolean isLenient()
public NInfoCmd setLenient(boolean lenient)
public NInfoCmd setNtf(boolean ntf)
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablepublic NWorkspaceCmd run()
run in interface NWorkspaceCmdCopyright © 2025 vpc open source initiative. All rights reserved.