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 Historybuild()History.HistoryBuildercontent(Reference<Content> content)History.HistoryBuildercontributors(Reference<Contributors> contributors)History.HistoryBuildercreatedBy(Person createdBy)History.HistoryBuildercreatedDate(OffsetDateTime createdDate)History.HistoryBuildercreatedDate(Date createdDate)History.HistoryBuildercreatedDate(org.joda.time.ReadableDateTime createdDate)Deprecated.since 8.6 usecreatedDate(OffsetDateTime)History.HistoryBuilderlastUpdated(Reference<Version> lastUpdated)History.HistoryBuilderlatest(boolean latest)Set whether this is the latest published (non-draft) version of the content.History.HistoryBuildernextVersion(Reference<Version> nextVersion)History.HistoryBuilderpreviousVersion(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)
 
 - 
 
 -