public abstract class AbstractScriptTargetOutput extends java.lang.Object implements ScriptTargetOutput
Constructor and Description |
---|
AbstractScriptTargetOutput() |
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 abstract java.io.Writer |
writer() |
protected abstract java.io.Writer writer()
public void prepare()
ScriptTargetOutput
accept
commandsprepare
in interface ScriptTargetOutput
public void accept(java.lang.String command)
ScriptTargetOutput
accept
in interface ScriptTargetOutput
command
- The commandpublic void release()
ScriptTargetOutput
release
in interface ScriptTargetOutput
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.