Class TextField
java.lang.Object
com.inet.taskplanner.server.api.field.Field
com.inet.taskplanner.server.api.field.TextField
A text field that allows any value.
- Since:
- taskplanner 3.0
-
Constructor Summary
Constructors -
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
-
TextField
Creates the field for setting a 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
-