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 void
accept(String command)
Accept the given command and write it to the abstracted scriptvoid
prepare()
Prepare the script target to accept commandsvoid
release()
Release this outputprotected Writer
writer()
-
-
-
Method Detail
-
writer
protected Writer writer()
- Specified by:
writer
in classAbstractScriptTargetOutput
-
prepare
public void prepare()
Description copied from interface:ScriptTargetOutput
Prepare the script target to accept commands- Specified by:
prepare
in interfaceScriptTargetOutput
- Overrides:
prepare
in classAbstractScriptTargetOutput
-
accept
public void accept(String command)
Description copied from interface:ScriptTargetOutput
Accept the given command and write it to the abstracted script- Specified by:
accept
in interfaceScriptTargetOutput
- Overrides:
accept
in classAbstractScriptTargetOutput
- Parameters:
command
- The command
-
release
public void release()
Description copied from interface:ScriptTargetOutput
Release this output- Specified by:
release
in interfaceScriptTargetOutput
- Overrides:
release
in classAbstractScriptTargetOutput
-
-