Class TextAreaField
java.lang.Object
com.inet.taskplanner.server.api.field.Field
com.inet.taskplanner.server.api.field.TextAreaField
A field that allows any multi line text.
- Since:
- taskplanner 3.0
-
Constructor Summary
ConstructorsConstructorDescriptionTextAreaField
(String key, String label) Creates the field for setting a multi line text -
Method Summary
Modifier and TypeMethodDescriptionpatchResultPlaceholderInValue
(String value, List<JobResultContainer> results) Override to replace the placeholders with the values from the resultspatchSeriesPlaceholderInValue
(String value, Map<String, String> seriesProperties) Override to replace the placeholders with the values from the seriesMethods inherited from class com.inet.taskplanner.server.api.field.Field
getConditions, getKey, getLabel, getPlaceholder, getType, getValue, isUpdateValuesOnChange, isValueSavable, replaceSeriesPlaceholders, setConditions, setKey, setLabel, setPlaceholder, setType, setType, setUpdateValuesOnChange, setValue, setValueSavable
-
Constructor Details
-
TextAreaField
Creates the field for setting a multi line text- Parameters:
key
- the key of the fieldlabel
- the label to be displayed in front of the field- Since:
- taskplanner 3.0
-
-
Method Details
-
patchSeriesPlaceholderInValue
Override to replace the placeholders with the values from the series- Overrides:
patchSeriesPlaceholderInValue
in classField
- Parameters:
value
- the value to be patchedseriesProperties
- properties from the current series set- Returns:
- the new value with replaced placeholders
-
patchResultPlaceholderInValue
Override to replace the placeholders with the values from the results- Overrides:
patchResultPlaceholderInValue
in classField
- Parameters:
value
- the value to be patchedresults
- the results that contain the meta properties that are replaced- Returns:
- the new value with replaced placeholders
-