Class TextAreaField
- java.lang.Object
-
- com.inet.taskplanner.server.api.field.Field
-
- com.inet.taskplanner.server.api.field.TextAreaField
-
@JsonData public class TextAreaField extends Field
A field that allows any multi line text.- Since:
- taskplanner 3.0
-
-
Constructor Summary
Constructors Constructor Description TextAreaField(java.lang.String key, java.lang.String label)Creates the field for setting a multi line text
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringpatchResultPlaceholderInValue(java.lang.String value, java.util.List<JobResultContainer> results)Override to replace the placeholders with the values from the resultsjava.lang.StringpatchSeriesPlaceholderInValue(java.lang.String value, java.util.Map<java.lang.String,java.lang.String> seriesProperties)Override to replace the placeholders with the values from the series-
Methods 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
-
-
-
-
Method Detail
-
patchSeriesPlaceholderInValue
public java.lang.String patchSeriesPlaceholderInValue(java.lang.String value, java.util.Map<java.lang.String,java.lang.String> seriesProperties)Override to replace the placeholders with the values from the series- Overrides:
patchSeriesPlaceholderInValuein classField- Parameters:
value- the value to be patchedseriesProperties- properties from the current series set- Returns:
- the new value with replaced placeholders
-
patchResultPlaceholderInValue
public java.lang.String patchResultPlaceholderInValue(java.lang.String value, java.util.List<JobResultContainer> results)Override to replace the placeholders with the values from the results- Overrides:
patchResultPlaceholderInValuein 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
-
-