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 abstract Writer writer()
public void prepare()
ScriptTargetOutput
accept
commandsprepare
in interface ScriptTargetOutput
public void accept(String command)
ScriptTargetOutput
accept
in interface ScriptTargetOutput
command
- The commandpublic void release()
ScriptTargetOutput
release
in interface ScriptTargetOutput
Copyright © 2020 JBoss by Red Hat. All rights reserved.