public abstract static class ContainerLaunch.ShellScriptBuilder extends Object
Constructor and Description |
---|
ContainerLaunch.ShellScriptBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract void |
command(List<String> command) |
static ContainerLaunch.ShellScriptBuilder |
create() |
abstract void |
env(String key,
String value) |
protected void |
line(String... command) |
protected abstract void |
link(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
protected abstract void |
mkdir(org.apache.hadoop.fs.Path path) |
void |
symlink(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dst) |
String |
toString() |
void |
write(PrintStream out) |
public static ContainerLaunch.ShellScriptBuilder create()
public abstract void command(List<String> command) throws IOException
IOException
public abstract void env(String key, String value) throws IOException
IOException
public final void symlink(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws IOException
IOException
public final void write(PrintStream out) throws IOException
IOException
protected final void line(String... command)
protected abstract void link(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) throws IOException
IOException
protected abstract void mkdir(org.apache.hadoop.fs.Path path) throws IOException
IOException
Copyright © 2016 Apache Software Foundation. All Rights Reserved.