Package org.hibernate.tool.schema.spi
Interface ScriptSourceInput
-
- All Known Implementing Classes:
AbstractScriptSourceInput
,ScriptSourceInputAggregate
,ScriptSourceInputFromFile
,ScriptSourceInputFromReader
,ScriptSourceInputFromUrl
,ScriptSourceInputNonExistentImpl
public interface ScriptSourceInput
Contract for hiding the differences between a passed Reader, File or URL in terms of how we read input scripts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
containsScript(URL url)
default boolean
exists()
List<String>
extract(Function<Reader,List<String>> extractor)
Allows managed access to the input's Reader, returning a resultdefault String
getScriptDescription()
-