Class FilenameField
java.lang.Object
com.inet.taskplanner.server.api.field.Field
com.inet.taskplanner.server.api.field.FilenameField
A text field for filenames which will be later patched with ResultActionHelper.resolveFilenamePlaceholder.
This prevent identical filenames if the task has multiple identical jobs that differ with a parameter that is used as placeholder.
- Since:
- 22.4
-
Constructor Summary
ConstructorsConstructorDescriptionFilenameField
(String key, String label) Creates the field for setting a text -
Method Summary
Methods inherited from class com.inet.taskplanner.server.api.field.Field
getConditions, getKey, getLabel, getPlaceholder, getType, getValue, isUpdateValuesOnChange, isValueSavable, patchResultPlaceholderInValue, replaceSeriesPlaceholders, setConditions, setKey, setLabel, setPlaceholder, setType, setType, setUpdateValuesOnChange, setValue, setValueSavable
-
Constructor Details
-
FilenameField
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:
- 22.4
-
-
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
-