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.TargetA 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 classPlugin.Engine.Target.DiscardingA sink that discards any entry.static classPlugin.Engine.Target.ForFolderRepresents a folder as the target for a plugin engine's application.static classPlugin.Engine.Target.ForJarFileRepresents a jar file as a target.static classPlugin.Engine.Target.InMemoryA sink that stores all elements in a memory map.static interfacePlugin.Engine.Target.SinkA sink represents an active writing process.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plugin.Engine.Target.Sinkwrite(java.util.jar.Manifest manifest)Initializes this target prior to writing.
-
-
-
Method Detail
-
write
Plugin.Engine.Target.Sink write(@MaybeNull java.util.jar.Manifest manifest) throws java.io.IOException
Initializes this target prior to writing.- Parameters:
manifest- The manifest for the target ornullif no manifest was found.- Returns:
- The sink to write to.
- Throws:
java.io.IOException- If an I/O error occurs.
-
-