public static enum Plugin.Engine.Target.Discarding extends java.lang.Enum<Plugin.Engine.Target.Discarding> implements Plugin.Engine.Target, Plugin.Engine.Target.Sink
Plugin.Engine.Target.Discarding, Plugin.Engine.Target.ForFolder, Plugin.Engine.Target.ForJarFile, Plugin.Engine.Target.InMemory, Plugin.Engine.Target.SinkPlugin.Engine.Target.Sink.ForJarOutputStream| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
retain(Plugin.Engine.Source.Element element)
Retains the supplied element in its original form.
|
void |
store(java.util.Map<TypeDescription,byte[]> binaryRepresentations)
Stores the supplied binary representation of types in this sink.
|
static Plugin.Engine.Target.Discarding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Plugin.Engine.Target.Discarding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Plugin.Engine.Target.Sink |
write(java.util.jar.Manifest manifest)
Initializes this target prior to writing.
|
public static final Plugin.Engine.Target.Discarding INSTANCE
public static Plugin.Engine.Target.Discarding[] values()
for (Plugin.Engine.Target.Discarding c : Plugin.Engine.Target.Discarding.values()) System.out.println(c);
public static Plugin.Engine.Target.Discarding valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic Plugin.Engine.Target.Sink write(java.util.jar.Manifest manifest)
write in interface Plugin.Engine.Targetmanifest - The manifest for the target or null if no manifest was found.public void store(java.util.Map<TypeDescription,byte[]> binaryRepresentations)
store in interface Plugin.Engine.Target.SinkbinaryRepresentations - The binary representations to store.public void retain(Plugin.Engine.Source.Element element)
retain in interface Plugin.Engine.Target.Sinkelement - The element to retain.public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable