fluent.api.generator.config.AppConfigBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-api-generator-tests Show documentation
Show all versions of fluent-api-generator-tests Show documentation
Tests for fluent API generator.
They are deployed as maven plugin, which doesn't require the maven project, so they can be executed by anybody
simply by running:
mvn foundation.fluent.api:fluent-api-generator-project:run
package fluent.api.generator.config;
import javax.annotation.Generated;
@Generated("Generated code using /fluent/api/templates/config.jtwig")
public final class AppConfigBuilder extends AppConfig {
public AppConfigBuilder(java.lang.String name, int age) {
super(name, age);
}
public AppConfigBuilder parent(java.lang.String value) {
this.parent = value;
return this;
}
public AppConfigBuilder birthDate(java.time.LocalDate value) {
this.birthDate = value;
return this;
}
public AppConfigBuilder documentation(java.net.URI value) {
this.documentation = value;
return this;
}
public AppConfigBuilder documentation(java.lang.String value) {
super.documentation(value);
return this;
}
@FunctionalInterface
public interface Name {
T name(java.lang.String name);
}
@FunctionalInterface
public interface Age {
T age(int age);
}
}