public static class HeatTemplate.HeatTemplateConcreteBuilder extends Object implements TemplateBuilder
HeatTemplate
objects. Use build()
to create the HeatTemplate
object.Constructor and Description |
---|
HeatTemplateConcreteBuilder()
Constructor to create a
HeatTemplate.HeatTemplateConcreteBuilder object
with a new, empty HeatTemplate object. |
HeatTemplateConcreteBuilder(HeatTemplate template)
Constructor to create a
HeatTemplate.HeatTemplateConcreteBuilder object
for an existing HeatTemplate object. |
Modifier and Type | Method and Description |
---|---|
Template |
build()
Creates and return the Model Entity M
|
TemplateBuilder |
from(Template in)
Creates a Builder using the param M as the default values
|
TemplateBuilder |
templateJson(String template)
Sets the template in JSON format.
|
TemplateBuilder |
templateURL(String templateURL)
The URL of the template to instantiate.
|
public HeatTemplateConcreteBuilder()
HeatTemplate.HeatTemplateConcreteBuilder
object
with a new, empty HeatTemplate
object.public HeatTemplateConcreteBuilder(HeatTemplate template)
HeatTemplate.HeatTemplateConcreteBuilder
object
for an existing HeatTemplate
object.template
- existing HeatTemplate
object.public Template build()
Buildable.Builder
build
in interface Buildable.Builder<TemplateBuilder,Template>
public TemplateBuilder from(Template in)
Buildable.Builder
from
in interface Buildable.Builder<TemplateBuilder,Template>
public TemplateBuilder templateJson(String template)
TemplateBuilder
templateJson
in interface TemplateBuilder
template
- template in JSON formatpublic TemplateBuilder templateURL(String templateURL)
TemplateBuilder
templateURL
in interface TemplateBuilder
templateURL
- the template URLCopyright © 2017. All rights reserved.