com.atlassian.confluence.api.model
Interface ApiEnum
- All Known Implementing Classes:
- BaseApiEnum, ContentRepresentation, ContentStatus, ContentType, LinkType, OperationKey, SpaceType, SubjectType
@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.
serialise
String serialise()
- Returns:
- the JSON-serialised version of this enum.
Copyright © 2003–2015 Atlassian. All rights reserved.