Package net.bytebuddy.build
Class Plugin.Engine.Source.Compound
- java.lang.Object
-
- net.bytebuddy.build.Plugin.Engine.Source.Compound
-
- All Implemented Interfaces:
Plugin.Engine.Source
- Enclosing interface:
- Plugin.Engine.Source
@Enhance public static class Plugin.Engine.Source.Compound extends java.lang.Object implements Plugin.Engine.Source
A compound source that combines multiple sources into a single representation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
Plugin.Engine.Source.Compound.Origin
Implements a compoundPlugin.Engine.Source.Origin
.-
Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin.Engine.Source
Plugin.Engine.Source.Compound, Plugin.Engine.Source.Element, Plugin.Engine.Source.Empty, Plugin.Engine.Source.Filtering, Plugin.Engine.Source.ForFolder, Plugin.Engine.Source.ForJarFile, Plugin.Engine.Source.InMemory
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<? extends Plugin.Engine.Source>
sources
The represented sources.
-
Constructor Summary
Constructors Constructor Description Compound(java.util.Collection<? extends Plugin.Engine.Source> sources)
Creates a new compound source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Plugin.Engine.Source.Origin
read()
Initiates reading from a source.
-
-
-
Field Detail
-
sources
private final java.util.Collection<? extends Plugin.Engine.Source> sources
The represented sources.
-
-
Constructor Detail
-
Compound
public Compound(java.util.Collection<? extends Plugin.Engine.Source> sources)
Creates a new compound source.- Parameters:
sources
- The represented sources.
-
-
Method Detail
-
read
public Plugin.Engine.Source.Origin read() throws java.io.IOException
Initiates reading from a source.- Specified by:
read
in interfacePlugin.Engine.Source
- Returns:
- The origin to read from.
- Throws:
java.io.IOException
- If an I/O error occurs.
-
-