Class ScriptTargetOutputToStdout
- java.lang.Object
-
- org.hibernate.tool.schema.internal.exec.AbstractScriptTargetOutput
-
- org.hibernate.tool.schema.internal.exec.ScriptTargetOutputToStdout
-
- All Implemented Interfaces:
ScriptTargetOutput
public class ScriptTargetOutputToStdout extends AbstractScriptTargetOutput
-
-
Constructor Summary
Constructors Constructor Description ScriptTargetOutputToStdout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String command)Accept the given command and write it to the abstracted scriptvoidprepare()Prepare the script target to accept commandsvoidrelease()Release this outputprotected Writerwriter()
-
-
-
Method Detail
-
writer
protected Writer writer()
- Specified by:
writerin classAbstractScriptTargetOutput
-
prepare
public void prepare()
Description copied from interface:ScriptTargetOutputPrepare the script target to accept commands- Specified by:
preparein interfaceScriptTargetOutput- Overrides:
preparein classAbstractScriptTargetOutput
-
accept
public void accept(String command)
Description copied from interface:ScriptTargetOutputAccept the given command and write it to the abstracted script- Specified by:
acceptin interfaceScriptTargetOutput- Overrides:
acceptin classAbstractScriptTargetOutput- Parameters:
command- The command
-
release
public void release()
Description copied from interface:ScriptTargetOutputRelease this output- Specified by:
releasein interfaceScriptTargetOutput- Overrides:
releasein classAbstractScriptTargetOutput
-
-