Interface InternalMediaNode
-
- All Known Implementing Classes:
Media.FileMedia,Media.FileOrLinkMedia,Media.LinkMedia,MediaInline
public interface InternalMediaNode extends Node
A marker interface formedia 'file' and 'link' nodesas well asmediaInlinenodes. These all share certain properties related to Media Services that make them of interest during certain operations thatexternal medianodes don't share. In particular, Jira needs to find these when ADF content is persisted so that it can correlate the media entries with issue attachments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Stringcollection()InternalMediaNodecollection(String collection)Stringid()InternalMediaNodeid(String id)booleanisFile()booleanisLink()Deprecated.Most of the support forlinkmedia no longer functions in the editor code base, so clients are unlikely to encounter it in the wild and should not use it in new ADF.Optional<String>occurrenceKey()InternalMediaNodeoccurrenceKey(String occurrenceKey)-
Methods inherited from interface com.atlassian.adf.model.Element
elementType, isSupported, toMap, validate
-
Methods inherited from interface com.atlassian.adf.model.node.Node
appendPlainText, copy, toPlainText
-
-
-
-
Method Detail
-
id
String id()
-
id
InternalMediaNode id(String id)
-
collection
String collection()
-
collection
InternalMediaNode collection(@Nullable String collection)
-
occurrenceKey
InternalMediaNode occurrenceKey(@Nullable String occurrenceKey)
-
isFile
boolean isFile()
-
isLink
@Deprecated boolean isLink()
Deprecated.Most of the support forlinkmedia no longer functions in the editor code base, so clients are unlikely to encounter it in the wild and should not use it in new ADF.
-
-