Class ScriptSourceInputAggregate
- java.lang.Object
-
- org.hibernate.tool.schema.internal.exec.ScriptSourceInputAggregate
-
- All Implemented Interfaces:
ScriptSourceInput
public class ScriptSourceInputAggregate extends Object implements ScriptSourceInput
A script source input that aggregates over multiple otherScriptSourceInput
.
-
-
Constructor Summary
Constructors Constructor Description ScriptSourceInputAggregate(AbstractScriptSourceInput[] inputs)
Constructs a ScriptSourceInputAggregate
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsScript(URL url)
List<String>
extract(Function<Reader,List<String>> extractor)
Allows managed access to the input's Reader, returning a resultString
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.tool.schema.spi.ScriptSourceInput
exists, getScriptDescription
-
-
-
-
Constructor Detail
-
ScriptSourceInputAggregate
public ScriptSourceInputAggregate(AbstractScriptSourceInput[] inputs)
Constructs a ScriptSourceInputAggregate- Parameters:
inputs
- The script source inputs
-
-
Method Detail
-
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
-
containsScript
public boolean containsScript(URL url)
- Specified by:
containsScript
in interfaceScriptSourceInput
-
-