public class HazelcastManifestTransformer
extends org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
Constructor and Description |
---|
HazelcastManifestTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransformResource(String resource) |
boolean |
hasTransformedResource() |
void |
modifyOutputStream(JarOutputStream jarOutputStream) |
void |
processResource(String arg0,
InputStream arg1,
List<org.apache.maven.plugins.shade.relocation.Relocator> arg2) |
void |
processResource(String resource,
InputStream inputStream,
List<org.apache.maven.plugins.shade.relocation.Relocator> relocators,
long time) |
void |
setMainClass(String mainClass) |
void |
setManifestEntries(Map<String,Object> manifestEntries) |
void |
setOverrideInstructions(Map<String,String> overrideInstructions) |
public void setMainClass(String mainClass)
setMainClass
in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
public void setManifestEntries(Map<String,Object> manifestEntries)
setManifestEntries
in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
public void setOverrideInstructions(Map<String,String> overrideInstructions)
public boolean canTransformResource(String resource)
canTransformResource
in interface org.apache.maven.plugins.shade.resource.ResourceTransformer
canTransformResource
in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
public void processResource(String resource, InputStream inputStream, List<org.apache.maven.plugins.shade.relocation.Relocator> relocators, long time) throws IOException
processResource
in interface org.apache.maven.plugins.shade.resource.ReproducibleResourceTransformer
processResource
in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
IOException
public boolean hasTransformedResource()
hasTransformedResource
in interface org.apache.maven.plugins.shade.resource.ResourceTransformer
hasTransformedResource
in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
public void modifyOutputStream(JarOutputStream jarOutputStream) throws IOException
modifyOutputStream
in interface org.apache.maven.plugins.shade.resource.ResourceTransformer
modifyOutputStream
in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer
IOException
public final void processResource(String arg0, InputStream arg1, List<org.apache.maven.plugins.shade.relocation.Relocator> arg2) throws IOException
processResource
in interface org.apache.maven.plugins.shade.resource.ResourceTransformer
IOException
Copyright © 2021 Hazelcast, Inc.. All rights reserved.