Class History.HistoryBuilder
- java.lang.Object
-
- com.atlassian.confluence.api.model.content.History.HistoryBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description History
build()
History.HistoryBuilder
content(Reference<Content> content)
History.HistoryBuilder
contributors(Reference<Contributors> contributors)
History.HistoryBuilder
createdBy(Person createdBy)
History.HistoryBuilder
createdDate(OffsetDateTime createdDate)
History.HistoryBuilder
createdDate(Date createdDate)
History.HistoryBuilder
createdDate(org.joda.time.ReadableDateTime createdDate)
Deprecated.since 8.6 usecreatedDate(OffsetDateTime)
History.HistoryBuilder
lastUpdated(Reference<Version> lastUpdated)
History.HistoryBuilder
latest(boolean latest)
Set whether this is the latest published (non-draft) version of the content.History.HistoryBuilder
nextVersion(Reference<Version> nextVersion)
History.HistoryBuilder
previousVersion(Reference<Version> previousVersion)
-
-
-
Method Detail
-
build
public History build()
-
createdBy
public History.HistoryBuilder createdBy(Person createdBy)
-
createdDate
public History.HistoryBuilder createdDate(Date createdDate)
-
createdDate
@Deprecated public History.HistoryBuilder createdDate(org.joda.time.ReadableDateTime createdDate)
Deprecated.since 8.6 usecreatedDate(OffsetDateTime)
-
createdDate
public History.HistoryBuilder createdDate(OffsetDateTime createdDate)
- Since:
- 8.6
-
lastUpdated
public History.HistoryBuilder lastUpdated(Reference<Version> lastUpdated)
-
contributors
public History.HistoryBuilder contributors(Reference<Contributors> contributors)
-
latest
public History.HistoryBuilder latest(boolean latest)
Set whether this is the latest published (non-draft) version of the content.
-
nextVersion
public History.HistoryBuilder nextVersion(Reference<Version> nextVersion)
-
previousVersion
public History.HistoryBuilder previousVersion(Reference<Version> previousVersion)
-
content
public History.HistoryBuilder content(Reference<Content> content)
-
-