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:ScriptTargetOutputPrepare the script target to accept commands- Specified by:
preparein interfaceScriptTargetOutput
-
accept
Description copied from interface:ScriptTargetOutputAccept the given command and write it to the abstracted script- Specified by:
acceptin interfaceScriptTargetOutput- Parameters:
command- The command
-
release
public void release()Description copied from interface:ScriptTargetOutputRelease this output- Specified by:
releasein interfaceScriptTargetOutput
-