Class ImageConversion.Builder
java.lang.Object
org.imageconverter.domain.conversion.ImageConversion.Builder
- Enclosing class:
- ImageConversion
-
Field Summary
Modifier and TypeFieldDescription@NotNull(message="{imageConversion.executionType}") ExecutionType
@javax.validation.constraints.NotNull(message="{imageConversion.fileContent}") byte[]
@NotEmpty(message="{imageConversion.fileName}") String
@Min(value=0L,message="{imageConversion.height}") Integer
@Min(value=0L,message="{imageConversion.width}") Integer
@Min(value=0L,message="{imageConversion.xAxis}") Integer
@Min(value=0L,message="{imageConversion.yAxis}") Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
with
(Consumer<ImageConversion.Builder> function) with
(ImageConverterRequestInterface request)
-
Field Details
-
executionType
@NotNull(message="{imageConversion.executionType}") public @NotNull(message="{imageConversion.executionType}") ExecutionType executionType -
fileName
@NotEmpty(message="{imageConversion.fileName}") public @NotEmpty(message="{imageConversion.fileName}") String fileName -
fileContent
@NotNull(message="{imageConversion.fileContent}") public @javax.validation.constraints.NotNull(message="{imageConversion.fileContent}") byte[] fileContent -
xAxis
@Min(value=0L, message="{imageConversion.xAxis}") public @Min(value=0L,message="{imageConversion.xAxis}") Integer xAxis -
yAxis
@Min(value=0L, message="{imageConversion.yAxis}") public @Min(value=0L,message="{imageConversion.yAxis}") Integer yAxis -
width
@Min(value=0L, message="{imageConversion.width}") public @Min(value=0L,message="{imageConversion.width}") Integer width -
height
@Min(value=0L, message="{imageConversion.height}") public @Min(value=0L,message="{imageConversion.height}") Integer height
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
with
-
with
-
build
-