Package de.xima.fc.mdl.placeholder
Class PlaceholderDescriptorBuilder
java.lang.Object
de.xima.fc.mdl.placeholder.PlaceholderDescriptorBuilder
A simple builder for creating a
IParsedPlaceholder POJO.- Since:
- 7.2.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()static PlaceholderDescriptorBuilderbuilder(EPlaceholderSyntaxKind syntaxKind) contentType(String contentType) syntaxKind(EPlaceholderSyntaxKind syntaxKind) type(EPlaceholderType type)
-
Constructor Details
-
PlaceholderDescriptorBuilder
- Parameters:
syntaxKind- The syntax which the placeholder uses.
-
-
Method Details
-
build
- Returns:
- A new POJO with the current data from this builder.
-
content
- Parameters:
content- The content of the placeholder, e.g.PROJECT_ID.- Returns:
- This builder instance for chaining method calls.
-
contentType
- Parameters:
contentType- The mime type of the value to which the placeholder resolves.- Returns:
- This builder instance for chaining method calls.
-
syntaxKind
- Parameters:
syntaxKind- The syntax which the placeholder uses.- Returns:
- This builder instance for chaining method calls.
-
type
- Parameters:
type- The semantic type of the placeholder.- Returns:
- This builder instance for chaining method calls.
-
builder
- Parameters:
syntaxKind- The syntax kind of the placeholder to build.- Returns:
- A new builder for a
IParsedPlaceholderPOJO instance.
-