public class SwarmExecutor extends Object
| Constructor and Description |
|---|
SwarmExecutor() |
public SwarmExecutor withStdoutFile(Path stdoutFile)
public SwarmExecutor withStderrFile(Path stderrFile)
public SwarmExecutor withDebug(Integer port)
public SwarmExecutor withJava(Path java)
public Path getJava()
public SwarmExecutor withDefaultSystemProperties()
public SwarmExecutor withProperty(String name, String value)
public SwarmExecutor withProperties(Properties props)
public SwarmExecutor withEnvironment(String name, String value)
public SwarmExecutor withEnvironment(Properties env)
public SwarmExecutor withClasspathEntry(Path entry)
public SwarmExecutor withClassPathEntries(List<Path> entries)
public SwarmExecutor withModules(List<Path> moduleDirs)
public SwarmExecutor withExecutableJar(Path jar)
public SwarmExecutor withMainClass(String className)
public SwarmExecutor withDefaultMainClass()
public SwarmExecutor withArgument(String arg)
public SwarmExecutor withArguments(List<String> args)
public SwarmExecutor withJVMArgument(String arg)
public SwarmExecutor withJVMArguments(List<String> args)
public SwarmExecutor withWorkingDirectory(Path workingDirectory)
public SwarmExecutor withProcessFile(File processFile)
public SwarmProcess execute() throws IOException
IOExceptionprotected Path findJava()
Copyright © 2017 JBoss by Red Hat. All rights reserved.