Interface ApiEnum
-
- All Known Implementing Classes:
BaseApiEnum
,ContentDraftService.ConflictPolicy
,ContentRepresentation
,ContentStatus
,ContentTemplateType
,ContentType
,LinkType
,OperationKey
,ResourceType
,SearchOptions.Excerpt
,SpaceStatus
,SpaceType
,SubjectType
,TargetType
,UserStatus
@ExperimentalSpi public interface ApiEnum
Flags API Model classes that represent enums, but are not Java enums.API Enums are usually not Java enums if they are intended to be extensible by plugins, e.g.
ContentRepresentation
. Forwards compatibility is also desirable - newer enum values should not break older clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
serialise()
-
-
-
Method Detail
-
serialise
String serialise()
- Returns:
- the JSON-serialised version of this enum.
-
-