Package net.bytebuddy.build
Interface Plugin.Engine.Target
-
- All Known Implementing Classes:
Plugin.Engine.Target.Discarding
,Plugin.Engine.Target.ForFolder
,Plugin.Engine.Target.ForJarFile
,Plugin.Engine.Target.InMemory
- Enclosing interface:
- Plugin.Engine
public static interface Plugin.Engine.Target
A target for a plugin engine represents a sink container for all elements that are supplied by aPlugin.Engine.Source
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Plugin.Engine.Target.Discarding
A sink that discards any entry.static class
Plugin.Engine.Target.ForFolder
Represents a folder as the target for a plugin engine's application.static class
Plugin.Engine.Target.ForJarFile
Represents a jar file as a target.static class
Plugin.Engine.Target.InMemory
A sink that stores all elements in a memory map.static interface
Plugin.Engine.Target.Sink
A sink represents an active writing process.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plugin.Engine.Target.Sink
write(java.util.jar.Manifest manifest)
Initializes this target prior to writing.
-
-
-
Method Detail
-
write
Plugin.Engine.Target.Sink write(java.util.jar.Manifest manifest) throws java.io.IOException
Initializes this target prior to writing.- Parameters:
manifest
- The manifest for the target ornull
if no manifest was found.- Returns:
- The sink to write to.
- Throws:
java.io.IOException
- If an I/O error occurs.
-
-