com.atlassian.confluence.api.model.content
Class History.HistoryBuilder

java.lang.Object
  extended by com.atlassian.confluence.api.model.content.History.HistoryBuilder
Enclosing class:
History

public static class History.HistoryBuilder
extends Object

Creates History instances.


Method Summary
 History build()
           
 History.HistoryBuilder content(Reference<Content> content)
           
 History.HistoryBuilder createdBy(Person createdBy)
           
 History.HistoryBuilder createdDate(Date createdDate)
           
 History.HistoryBuilder createdDate(org.joda.time.ReadableDateTime createdDate)
           
 History.HistoryBuilder lastUpdated(Reference<Version> lastUpdated)
           
 History.HistoryBuilder latest(boolean latest)
           
 History.HistoryBuilder nextVersion(Reference<Version> nextVersion)
           
 History.HistoryBuilder previousVersion(Reference<Version> previousVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public History build()

createdBy

public History.HistoryBuilder createdBy(Person createdBy)

createdDate

public History.HistoryBuilder createdDate(Date createdDate)

createdDate

public History.HistoryBuilder createdDate(org.joda.time.ReadableDateTime createdDate)

lastUpdated

public History.HistoryBuilder lastUpdated(Reference<Version> lastUpdated)

latest

public History.HistoryBuilder latest(boolean latest)

nextVersion

public History.HistoryBuilder nextVersion(Reference<Version> nextVersion)

previousVersion

public History.HistoryBuilder previousVersion(Reference<Version> previousVersion)

content

public History.HistoryBuilder content(Reference<Content> content)


Copyright © 2003–2015 Atlassian. All rights reserved.