All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
NSession |
addListener(NListener listener) |
NSession |
addOutputFormatOptions(String... options) |
NSession |
ask() |
NSession |
bot() |
<T> T |
callWith(NCallable<T> callable) |
void |
close() |
NSession |
configure(boolean skipUnsupported,
String... args)
configure the current command with the given arguments.
|
NSession |
configure(NWorkspaceOptions options) |
boolean |
configureFirst(NCmdLine cmdLine) |
NSession |
copy() |
NSession |
copyFrom(NBootOptions options) |
NSession |
copyFrom(NSession other) |
NSession |
copyFrom(NWorkspaceOptions options) |
NSession |
currentUser() |
NSession |
embedded() |
NArrayElementBuilder |
eout() |
NPrintStream |
err() |
NSession |
flush() |
NOptional<Boolean> |
getBot() |
NOptional<Boolean> |
getCached() |
NOptional<NConfirmationMode> |
getConfirm() |
NOptional<String> |
getDebug() |
String |
getDependencySolver() |
NOptional<Boolean> |
getDry() |
NArrayElementBuilder |
getElemOut() |
String |
getErrLinePrefix() |
NOptional<NExecutionType> |
getExecutionType() |
NOptional<Instant> |
getExpireTime() |
NOptional<NFetchStrategy> |
getFetchStrategy() |
NOptional<Boolean> |
getGui() |
NOptional<Boolean> |
getIndexed() |
NIterableFormat |
getIterableOutput() |
List<NListener> |
getListeners() |
<T extends NListener> List<T> |
getListeners(Class<T> type) |
NOptional<String> |
getLocale() |
Level |
getLogFileLevel() |
Level |
getLogTermLevel() |
<T> T |
getOrComputeProperty(Class<T> property,
Supplier<T> supplier) |
<T> T |
getOrComputeProperty(String property,
Supplier<T> supplier) |
<T> T |
getOrComputeSessionProperty(Class<T> property,
Supplier<T> supplier) |
<T> T |
getOrComputeSessionProperty(String property,
Supplier<T> supplier) |
<T> T |
getOrComputeSharedProperty(Class<T> property,
Supplier<T> supplier) |
<T> T |
getOrComputeSharedProperty(String property,
Supplier<T> supplier) |
<T> T |
getOrComputeTransitiveProperty(Class<T> property,
Supplier<T> supplier) |
<T> T |
getOrComputeTransitiveProperty(String property,
Supplier<T> supplier) |
String |
getOutLinePrefix() |
NOptional<NContentType> |
getOutputFormat() |
List<String> |
getOutputFormatOptions() |
NOptional<Boolean> |
getPreviewRepo() |
String |
getProgressOptions() |
Map<String,Object> |
getProperties() |
NPropertiesHolder |
getPropertiesHolder() |
<T> NOptional<T> |
getProperty(Class<T> propertyTypeAndName) |
NOptional<Object> |
getProperty(String property) |
NOptional<NRunAs> |
getRunAs() |
NOptional<Boolean> |
getShowStacktrace() |
NTerminal |
getTerminal() |
NOptional<Boolean> |
getTrace() |
Boolean |
getTrace(boolean withDefaults) |
NOptional<Boolean> |
getTransitive() |
NWorkspace |
getWorkspace() |
InputStream |
in() |
boolean |
isAsk() |
boolean |
isBot() |
boolean |
isCached() |
boolean |
isDry() |
boolean |
isGui() |
boolean |
isIndexed() |
boolean |
isIterableOut() |
boolean |
isIterableTrace() |
boolean |
isLogFileLevel(Level level) |
boolean |
isLogTermLevel(Level level) |
boolean |
isNo() |
boolean |
isPlainOut() |
boolean |
isPlainTrace() |
boolean |
isPreviewRepo() |
boolean |
isProgress() |
boolean |
isStructuredOut() |
boolean |
isStructuredTrace() |
boolean |
isTrace() |
boolean |
isTransitive() |
boolean |
isVerboseFile() |
boolean |
isVerboseTerm() |
boolean |
isYes() |
NSession |
json() |
NSession |
no() |
NPrintStream |
out() |
NSession |
plain() |
NSession |
props() |
NSession |
removeListener(NListener listener) |
NSession |
root() |
void |
runWith(Runnable runnable) |
NSession |
setBot(Boolean bot) |
NSession |
setCached(Boolean value) |
NSession |
setConfirm(NConfirmationMode confirm) |
NSession |
setDebug(String debug) |
NSession |
setDependencySolver(String dependencySolver) |
NSession |
setDry(Boolean dry) |
NSession |
setElemOut(NArrayElementBuilder eout) |
NSession |
setErrLinePrefix(String errLinePrefix) |
NSession |
setExecutionType(NExecutionType executionType) |
NSession |
setExpireTime(Instant expireTime) |
NSession |
setFetchStrategy(NFetchStrategy mode) |
NSession |
setGui(Boolean gui) |
NSession |
setIndexed(Boolean value) |
NSession |
setIterableOut(boolean iterableOut) |
NSession |
setLocale(String locale) |
NSession |
setLogFileLevel(Level logFileLevel) |
NSession |
setLogTermLevel(Level level) |
NSession |
setOutLinePrefix(String outLinePrefix) |
NSession |
setOutputFormat(NContentType outputFormat) |
NSession |
setOutputFormatOptions(List<String> options) |
NSession |
setOutputFormatOptions(String... options) |
NSession |
setPreviewRepo(Boolean bot) |
NSession |
setProgressOptions(String progressOptions) |
<T> NSession |
setProperty(Class<T> property,
T value) |
NSession |
setProperty(String property,
Object value) |
NSession |
setRunAs(NRunAs runAs) |
NSession |
setSessionProperty(String property,
Object value) |
<T> NSession |
setSharedProperty(Class<T> property,
T value) |
NSession |
setSharedProperty(String property,
Object value) |
NSession |
setShowStacktrace(Boolean showStacktrace) |
NSession |
setTerminal(NTerminal terminal) |
NSession |
setTrace(Boolean trace) |
NSession |
setTransitive(Boolean value) |
<T> NSession |
setTransitiveProperty(Class<T> property,
T value) |
NSession |
setTransitiveProperty(String property,
Object value) |
NSession |
spawn() |
NSession |
sudo() |
NSession |
system() |
NSession |
table() |
String |
toString() |
NSession |
trace() |
NSession |
tree() |
NSession |
xml() |
NSession |
yes() |