public class ScriptTargetOutputToStdout extends AbstractScriptTargetOutput
NEWLINE| Constructor and Description |
|---|
ScriptTargetOutputToStdout() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(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 Writer |
writer() |
protected Writer writer()
writer in class AbstractScriptTargetOutputpublic void prepare()
ScriptTargetOutputaccept commandsprepare in interface ScriptTargetOutputprepare in class AbstractScriptTargetOutputpublic void accept(String command)
ScriptTargetOutputaccept in interface ScriptTargetOutputaccept in class AbstractScriptTargetOutputcommand - The commandpublic void release()
ScriptTargetOutputrelease in interface ScriptTargetOutputrelease in class AbstractScriptTargetOutputCopyright © 2018 JBoss by Red Hat. All rights reserved.