org.apache.maven.plugins.shade
Class ShadeRequest

java.lang.Object
  extended by org.apache.maven.plugins.shade.ShadeRequest

public class ShadeRequest
extends Object

Parameter object used to pass multitude of args to Shader.shade()

Since:
2.0

Constructor Summary
ShadeRequest()
           
 
Method Summary
 List<Filter> getFilters()
           
 Set<File> getJars()
           
 List<Relocator> getRelocators()
           
 List<ResourceTransformer> getResourceTransformers()
           
 File getUberJar()
           
 boolean isShadeSourcesContent()
           
 void setFilters(List<Filter> filters)
          The filters.
 void setJars(Set<File> jars)
          Which jars to shade.
 void setRelocators(List<Relocator> relocators)
          The relocators.
 void setResourceTransformers(List<ResourceTransformer> resourceTransformers)
          The transformers.
 void setShadeSourcesContent(boolean shadeSourcesContent)
          When true, it will attempt to shade the contents of the java source files when creating the sources jar.
 void setUberJar(File uberJar)
          Output jar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadeRequest

public ShadeRequest()
Method Detail

getJars

public Set<File> getJars()

setJars

public void setJars(Set<File> jars)
Which jars to shade.

Parameters:
jars -

getUberJar

public File getUberJar()

setUberJar

public void setUberJar(File uberJar)
Output jar.

Parameters:
uberJar -

getFilters

public List<Filter> getFilters()

setFilters

public void setFilters(List<Filter> filters)
The filters.

Parameters:
filters -

getRelocators

public List<Relocator> getRelocators()

setRelocators

public void setRelocators(List<Relocator> relocators)
The relocators.

Parameters:
relocators -

getResourceTransformers

public List<ResourceTransformer> getResourceTransformers()

setResourceTransformers

public void setResourceTransformers(List<ResourceTransformer> resourceTransformers)
The transformers.

Parameters:
resourceTransformers -

isShadeSourcesContent

public boolean isShadeSourcesContent()

setShadeSourcesContent

public void setShadeSourcesContent(boolean shadeSourcesContent)
When true, it will attempt to shade the contents of the java source files when creating the sources jar. When false, it will just relocate the java source files to the shaded paths, but will not modify the actual contents of the java source files.

Parameters:
shadeSourcesContent -


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.