public static class PlasticManager.PlasticManagerBuilder extends Lockable
PlasticManagerDelegate
and an empty set of controlled packages, which is appropriate
when simply creating proxy objects.
The builder object is internally mutable and uses a fluid API (each method returns the same instance).Modifier and Type | Method and Description |
---|---|
PlasticManager |
create()
Creates the PlasticManager with the current set of options.
|
PlasticManager.PlasticManagerBuilder |
delegate(PlasticManagerDelegate delegate)
Sets the
PlasticManagerDelegate , which is ultimately responsible for
transforming classes loaded from controlled packages. |
PlasticManager.PlasticManagerBuilder |
enable(TransformationOption option) |
PlasticManager.PlasticManagerBuilder |
packages(Collection<String> packageNames)
Adds additional controlled packages, in which classes are loaded and transformed.
|
public PlasticManager.PlasticManagerBuilder delegate(PlasticManagerDelegate delegate)
PlasticManagerDelegate
, which is ultimately responsible for
transforming classes loaded from controlled packages. The default delegate
does nothing.public PlasticManager.PlasticManagerBuilder packages(Collection<String> packageNames)
public PlasticManager.PlasticManagerBuilder enable(TransformationOption option)
public PlasticManager create()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.