@ExperimentalApi public class JsonContentProperty extends Object implements NavigationAware
Content
.Modifier and Type | Class and Description |
---|---|
static class |
AbstractJsonProperty.AbstractJsonPropertyBuilder<T extends AbstractJsonProperty.AbstractJsonPropertyBuilder,S extends com.atlassian.confluence.api.model.content.AbstractJsonProperty> |
static class |
JsonContentProperty.ContentPropertyBuilder |
static class |
JsonContentProperty.Expansions
Provides property names that can be used to expand
JsonContentProperty objects. |
Modifier and Type | Method and Description |
---|---|
static JsonContentProperty.ContentPropertyBuilder |
builder()
Creates a builder.
|
static JsonContentProperty.ContentPropertyBuilder |
builder(JsonContentProperty propertyTemplate)
Creates a builder, initialized from the given template.
|
static Reference<JsonContentProperty> |
buildReference(@Nullable JsonContentPropertyId id)
Creates a collapsed reference to a JsonContentProperty with the given id, or an empty reference, if none was given.
|
boolean |
equals(Object o) |
Content |
getContent() |
Reference<Content> |
getContentRef() |
JsonContentPropertyId |
getId() |
String |
getKey() |
JsonString |
getValue() |
@Nullable Version |
getVersion() |
int |
hashCode() |
Navigation.Builder |
resolveNavigation(NavigationService navigationService) |
String |
toString() |
public static JsonContentProperty.ContentPropertyBuilder builder()
public static JsonContentProperty.ContentPropertyBuilder builder(JsonContentProperty propertyTemplate)
propertyTemplate
- the template to build frompublic static Reference<JsonContentProperty> buildReference(@Nullable JsonContentPropertyId id)
id
- the content property id. Can be null.public JsonContentPropertyId getId()
public Reference<Content> getContentRef()
public Content getContent()
public String getKey()
public JsonString getValue()
public @Nullable Version getVersion()
public Navigation.Builder resolveNavigation(NavigationService navigationService)
resolveNavigation
in interface NavigationAware
public boolean equals(Object o)
public int hashCode()
Copyright © 2003–2019 Atlassian. All rights reserved.