public class ScriptTargetOutputToStdout extends AbstractScriptTargetOutput
NEWLINE
Constructor and Description |
---|
ScriptTargetOutputToStdout() |
Modifier and Type | Method and Description |
---|---|
void |
accept(java.lang.String command)
Accept the given command and write it to the abstracted script
|
void |
prepare()
Prepare the script target to
accept commands |
void |
release()
Release this output
|
protected java.io.Writer |
writer() |
protected java.io.Writer writer()
writer
in class AbstractScriptTargetOutput
public void prepare()
ScriptTargetOutput
accept
commandsprepare
in interface ScriptTargetOutput
prepare
in class AbstractScriptTargetOutput
public void accept(java.lang.String command)
ScriptTargetOutput
accept
in interface ScriptTargetOutput
accept
in class AbstractScriptTargetOutput
command
- The commandpublic void release()
ScriptTargetOutput
release
in interface ScriptTargetOutput
release
in class AbstractScriptTargetOutput
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.