Class ScriptSourceInputNonExistentImpl
- java.lang.Object
-
- org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput
-
- org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl
-
- All Implemented Interfaces:
ScriptSourceInput
public class ScriptSourceInputNonExistentImpl extends AbstractScriptSourceInput
Used in cases where a specified source cannot be found
-
-
Field Summary
Fields Modifier and Type Field Description static ScriptSourceInputNonExistentImpl
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description ScriptSourceInputNonExistentImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsScript(URL url)
boolean
exists()
List<String>
extract(Function<Reader,List<String>> extractor)
Allows managed access to the input's Reader, returning a resultString
getScriptDescription()
protected Reader
prepareReader()
protected void
releaseReader(Reader reader)
-
-
-
Field Detail
-
INSTANCE
public static final ScriptSourceInputNonExistentImpl INSTANCE
Singleton access
-
-
Method Detail
-
getScriptDescription
public String getScriptDescription()
-
prepareReader
protected Reader prepareReader()
- Specified by:
prepareReader
in classAbstractScriptSourceInput
-
releaseReader
protected void releaseReader(Reader reader)
- Specified by:
releaseReader
in classAbstractScriptSourceInput
-
containsScript
public boolean containsScript(URL url)
-
extract
public List<String> extract(Function<Reader,List<String>> extractor)
Description copied from interface:ScriptSourceInput
Allows managed access to the input's Reader, returning a result- Specified by:
extract
in interfaceScriptSourceInput
- Overrides:
extract
in classAbstractScriptSourceInput
-
exists
public boolean exists()
-
-