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 a
Plugin.Engine.Source
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
A sink that discards any entry.static class
Represents a folder as the target for a plugin engine's application.static class
Represents a jar file as a target.static class
A sink that stores all elements in a memory map.static interface
A sink represents an active writing process. -
Method Summary
Modifier and TypeMethodDescriptionInitializes this target prior to writing.
-
Method Details
-
write
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:
IOException
- If an I/O error occurs.
-