public static class MavenPlugin.ConfigurationBuilder extends Object
MavenPlugin.Configuration.| Constructor and Description |
|---|
ConfigurationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
MavenPlugin.ConfigurationBuilder |
add(String name,
String value)
Add the specified parameter with a single value.
|
MavenPlugin.ConfigurationBuilder |
configure(String name,
Consumer<MavenPlugin.ConfigurationBuilder> consumer)
Configure the parameter with the specified
name. |
public MavenPlugin.ConfigurationBuilder add(String name, String value)
name - the name of the parametervalue - the single value of the parameterpublic MavenPlugin.ConfigurationBuilder configure(String name, Consumer<MavenPlugin.ConfigurationBuilder> consumer)
name.name - the name of the parameterconsumer - a consumer to further configure the parameterIllegalArgumentException - if a parameter with the same name is
registered with a single valueCopyright © 2020 Pivotal Software, Inc.. All rights reserved.