Interface PlainTextField
- All Superinterfaces:
CanBeCustomField
,CanRender<Renderer<? extends Renderer<?>>>
,Field
,ScalarField<Text>
- All Known Subinterfaces:
CodeField
,RichTextField
,UpdatablePlainTextField
,UpdatableRichTextField
- Since:
- 3.9.0
-
Method Summary
Methods inherited from interface com.polarion.alm.shared.api.model.fields.CanBeCustomField
containsIncompatibleValue
Methods inherited from interface com.polarion.alm.shared.api.model.fields.Field
can, compareWith, description, id, is, label, render
Methods inherited from interface com.polarion.alm.shared.api.model.fields.ScalarField
get, getIfCan
-
Method Details
-
asPlainText
Returns the value as plain text string. Returns empty string when null is in persistence. Returned value is trimmed. It is recommended to useField.render()
when the value is to be used as part of some html, because that will ensure future compatibility when the given field is changed toRichTextField
Never throws exception when user cannot read the field, or the object is unresolvable.
-