Interface ApiEnum

All Known Implementing Classes:
BaseApiEnum, ContentDraftService.ConflictPolicy, ContentRepresentation, ContentStatus, ContentTemplateType, ContentType, InheritedRestrictionType, 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

    Modifier and Type
    Method
    Description
     
  • Method Details

    • serialise

      String serialise()
      Returns:
      the JSON-serialised version of this enum.