All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
NSession |
addListener(NListener listener) |
NSession |
addOutputFormatOptions(String... options) |
NSession |
ask() |
NOptional<Boolean> |
bot() |
NSession |
bot(Boolean bot) |
NOptional<Boolean> |
cached() |
NSession |
cached(Boolean value) |
<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) |
NOptional<NConfirmationMode> |
confirm() |
NSession |
confirm(NConfirmationMode confirm) |
NSession |
copy() |
NSession |
copyFrom(NBootOptions options) |
NSession |
copyFrom(NSession other) |
NSession |
copyFrom(NWorkspaceOptions options) |
NSession |
currentUser() |
NOptional<String> |
debug() |
NSession |
debug(String debug) |
String |
dependencySolver() |
NSession |
dependencySolver(String dependencySolver) |
NOptional<Boolean> |
dry() |
NSession |
dry(Boolean dry) |
NArrayElementBuilder |
elemOut() |
NSession |
elemOut(NArrayElementBuilder eout) |
NSession |
embedded() |
NArrayElementBuilder |
eout() |
NPrintStream |
err() |
String |
errLinePrefix() |
NSession |
errLinePrefix(String errLinePrefix) |
NOptional<NExecutionType> |
executionType() |
NSession |
executionType(NExecutionType executionType) |
NOptional<Instant> |
expireTime() |
NSession |
expireTime(Instant expireTime) |
NOptional<NFetchStrategy> |
fetchStrategy() |
NSession |
fetchStrategy(NFetchStrategy mode) |
NSession |
flush() |
<T extends NListener> List<T> |
getListeners(Class<T> type) |
<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) |
NPropertiesHolder |
getPropertiesHolder() |
<T> NOptional<T> |
getProperty(Class<T> propertyTypeAndName) |
NOptional<Object> |
getProperty(String property) |
NOptional<Boolean> |
getTrace() |
Boolean |
getTrace(boolean withDefaults) |
NOptional<Boolean> |
gui() |
NSession |
gui(Boolean gui) |
InputStream |
in() |
NOptional<Boolean> |
indexed() |
NSession |
indexed(Boolean value) |
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 |
iterableOut(boolean iterableOut) |
NIterableFormat |
iterableOutput() |
NSession |
json() |
List<NListener> |
listeners() |
NOptional<String> |
locale() |
NSession |
locale(String locale) |
Level |
logFileLevel() |
NSession |
logFileLevel(Level logFileLevel) |
Level |
logTermLevel() |
NSession |
no() |
NPrintStream |
out() |
String |
outLinePrefix() |
NSession |
outLinePrefix(String outLinePrefix) |
NOptional<NContentType> |
outputFormat() |
NSession |
outputFormat(NContentType outputFormat) |
List<String> |
outputFormatOptions() |
NSession |
outputFormatOptions(List<String> options) |
NSession |
outputFormatOptions(String... options) |
NSession |
plain() |
NOptional<Boolean> |
previewRepo() |
NSession |
previewRepo(Boolean bot) |
String |
progressOptions() |
NSession |
progressOptions(String progressOptions) |
Map<String,Object> |
properties() |
NSession |
props() |
NSession |
removeListener(NListener listener) |
NSession |
root() |
NOptional<NRunAs> |
runAs() |
NSession |
runAs(NRunAs runAs) |
void |
runWith(Runnable runnable) |
NSession |
setLogTermLevel(Level level) |
<T> NSession |
setProperty(Class<T> property,
T value) |
NSession |
setProperty(String property,
Object value) |
NSession |
setSessionProperty(String property,
Object value) |
<T> NSession |
setSharedProperty(Class<T> property,
T value) |
NSession |
setSharedProperty(String property,
Object value) |
<T> NSession |
setTransitiveProperty(Class<T> property,
T value) |
NSession |
setTransitiveProperty(String property,
Object value) |
NOptional<Boolean> |
showStacktrace() |
NSession |
showStacktrace(Boolean showStacktrace) |
NSession |
spawn() |
NSession |
sudo() |
NSession |
system() |
NSession |
table() |
NTerminal |
terminal() |
NSession |
terminal(NTerminal terminal) |
String |
toString() |
NSession |
trace(Boolean trace) |
NOptional<Boolean> |
transitive() |
NSession |
transitive(Boolean value) |
NSession |
tree() |
NWorkspace |
workspace() |
NSession |
xml() |
NSession |
yes() |