public abstract class AbstractScriptTargetOutput extends Object implements ScriptTargetOutput
| Constructor and Description |
|---|
AbstractScriptTargetOutput() |
| 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 abstract Writer |
writer() |
protected static final String NEWLINE
protected abstract Writer writer()
public void prepare()
ScriptTargetOutputaccept commandsprepare in interface ScriptTargetOutputpublic void accept(String command)
ScriptTargetOutputaccept in interface ScriptTargetOutputcommand - The commandpublic void release()
ScriptTargetOutputrelease in interface ScriptTargetOutputCopyright © 2018 JBoss by Red Hat. All rights reserved.