Class AbstractScriptTargetOutput
java.lang.Object
org.hibernate.tool.schema.internal.exec.AbstractScriptTargetOutput
- All Implemented Interfaces:
ScriptTargetOutput
- Direct Known Subclasses:
ScriptTargetOutputToFile
,ScriptTargetOutputToStdout
,ScriptTargetOutputToUrl
,ScriptTargetOutputToWriter
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractScriptTargetOutput
public AbstractScriptTargetOutput()
-
-
Method Details
-
writer
-
prepare
public void prepare()Description copied from interface:ScriptTargetOutput
Prepare the script target to accept commands- Specified by:
prepare
in interfaceScriptTargetOutput
-
accept
Description copied from interface:ScriptTargetOutput
Accept the given command and write it to the abstracted script- Specified by:
accept
in interfaceScriptTargetOutput
- Parameters:
command
- The command
-
release
public void release()Description copied from interface:ScriptTargetOutput
Release this output- Specified by:
release
in interfaceScriptTargetOutput
-