-
public final class Script
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>commandLineprivate final StringcommandStringprivate final Stringcommandprivate final List<String>argsprivate final LocalInstanceinstanceprivate final List<String>shellCommandprivate final Filewrapperprivate final Filebin
-
Method Summary
Modifier and Type Method Description final UnitexecuteVerbosely(Function1<ProcBuilder, Unit> options)final ProcResultexecuteQuietly(Function1<ProcBuilder, Unit> options)StringtoString()final List<String>getCommandLine()final StringgetCommandString()final StringgetCommand()final List<String>getArgs()final LocalInstancegetInstance()final List<String>getShellCommand()final FilegetWrapper()final FilegetBin()-
-
Constructor Detail
-
Script
Script(LocalInstance instance, List<String> shellCommand, File wrapper, File bin)
-
-
Method Detail
-
executeVerbosely
final Unit executeVerbosely(Function1<ProcBuilder, Unit> options)
-
executeQuietly
final ProcResult executeQuietly(Function1<ProcBuilder, Unit> options)
-
getCommandLine
final List<String> getCommandLine()
-
getCommandString
final String getCommandString()
-
getCommand
final String getCommand()
-
getInstance
final LocalInstance getInstance()
-
getShellCommand
final List<String> getShellCommand()
-
getWrapper
final File getWrapper()
-
-
-
-