Package org.hibernate.tool.schema.spi
Interface ScriptTargetOutput
-
public interface ScriptTargetOutputContract for hiding the differences between a passed Writer, File or URL in terms of how we write output scripts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(java.lang.String command)Accept the given command and write it to the abstracted scriptvoidprepare()Prepare the script target toacceptcommandsvoidrelease()Release this output
-
-
-
Method Detail
-
prepare
void prepare()
Prepare the script target toacceptcommands
-
accept
void accept(java.lang.String command)
Accept the given command and write it to the abstracted script- Parameters:
command- The command
-
release
void release()
Release this output
-
-