Package com.suncode.pwfl.component
Class ContextVariableBuilder<T extends ComponentDefinitionBuilder<T>>
java.lang.Object
com.suncode.pwfl.component.ContextVariableBuilder<T>
Builder to create component context variables ContextVariable
- Author:
- Cezary Kozar 12 lip 2016
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()
Builds ContextVariable with given information.description
(String description) Sets context variable description ContextVariable.getDescription()hidden()
Sets context variable hidden param ContextVariable.getHidden()Sets context variable id ContextVariable.getId()Sets context variable name ContextVariable.getName()Sets context variable type ContextVariable.getType()
-
Constructor Details
-
ContextVariableBuilder
-
-
Method Details
-
id
Sets context variable id ContextVariable.getId()- Parameters:
id
- context variable id.- Returns:
- this
-
name
Sets context variable name ContextVariable.getName()- Parameters:
name
- context variable name or translation key.- Returns:
- this
-
description
Sets context variable description ContextVariable.getDescription()- Parameters:
description
- context variable description or translation key.- Returns:
- this
-
type
Sets context variable type ContextVariable.getType()- Parameters:
type
- context variable type- Returns:
- this
-
create
Builds ContextVariable with given information.- Returns:
- context variable definition
-