Package org.apache.creadur.whisker.app
Class ConfigurationBuilder
java.lang.Object
org.apache.creadur.whisker.app.ConfigurationBuilder
Builds configurations fluently.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationBuilder
Creates a new builder.build()
Builds a configuration.Set source URLs in license to false when the configuration is built.with
(LicenseConfiguration licenseConfiguration) Adjusts the configuration.Set source URLs in license to true when the configuration is built.
-
Method Details
-
aConfiguration
Creates a new builder.- Returns:
- not null
-
build
Builds a configuration.- Returns:
- not null
-
withSourceURLsInLicense
Set source URLs in license to true when the configuration is built.- Returns:
- this, not null
-
noSourceURLsInLicense
Set source URLs in license to false when the configuration is built.- Returns:
- this, not null
-
with
Adjusts the configuration.- Parameters:
licenseConfiguration
- not null- Returns:
- this builder, not null
-