Package org.daisy.dotify.api.formatter
Class VolumeTemplateProperties.Builder
- java.lang.Object
-
- org.daisy.dotify.api.formatter.VolumeTemplateProperties.Builder
-
- Enclosing class:
- VolumeTemplateProperties
public static class VolumeTemplateProperties.Builder extends Object
Provides a builder for creating volume template properties instances.
-
-
Constructor Summary
Constructors Constructor Description Builder(int splitterMax)
Creates a new Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeTemplateProperties
build()
Creates a new VolumeTemplateProperties instance based on the current configuration.VolumeTemplateProperties.Builder
condition(Condition condition)
Sets the condition for applying the volume template.
-
-
-
Method Detail
-
condition
public VolumeTemplateProperties.Builder condition(Condition condition)
Sets the condition for applying the volume template.- Parameters:
condition
- the condition- Returns:
- returns the builder
-
build
public VolumeTemplateProperties build()
Creates a new VolumeTemplateProperties instance based on the current configuration.- Returns:
- a new VolumeTemplateProperties instance
-
-