Package org.hibernate.tool.schema.spi
Interface ScriptTargetOutput
- All Known Implementing Classes:
AbstractScriptTargetOutput
,ScriptTargetOutputToFile
,ScriptTargetOutputToStdout
,ScriptTargetOutputToUrl
,ScriptTargetOutputToWriter
public interface ScriptTargetOutput
Contract for hiding the differences between a passed
Writer
,
File
or URL
in terms of how we write output scripts.-
Method Summary
-
Method Details
-
prepare
void prepare()Prepare the script target to accept commands -
accept
Accept the given command and write it to the abstracted script- Parameters:
command
- The command
-
release
void release()Release this output
-