public static class Mapper.Builder extends GeneratedType.GeneratedTypeBuilder<Mapper.Builder>
elementUtils, extraImportedTypes, methods, options, typeFactory, versionInformation
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Mapper |
build() |
Mapper.Builder |
constructorFragments(Set<SupportingConstructorFragment> fragments) |
Mapper.Builder |
decorator(Decorator decorator) |
Mapper.Builder |
element(TypeElement element) |
Mapper.Builder |
fields(List<Field> fields) |
Mapper.Builder |
implName(String implName) |
Mapper.Builder |
implPackage(String implPackage) |
elementUtils, extraImports, methods, options, typeFactory, versionInformation
public Mapper.Builder element(TypeElement element)
public Mapper.Builder fields(List<Field> fields)
public Mapper.Builder constructorFragments(Set<SupportingConstructorFragment> fragments)
public Mapper.Builder decorator(Decorator decorator)
public Mapper.Builder implName(String implName)
public Mapper.Builder implPackage(String implPackage)
public Mapper build()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.