Package com.atlassian.confluence.core
Class VersionHistorySummary.Builder
- java.lang.Object
-
- com.atlassian.confluence.core.VersionHistorySummary.Builder
-
- Enclosing class:
- VersionHistorySummary
public static class VersionHistorySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(VersionHistorySummary summary)
Builder(VersionHistorySummaryCollaborator summary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionHistorySummary
build()
int
getVersion()
VersionHistorySummary.Builder
withContributor(ConfluenceUser contributor)
VersionHistorySummary.Builder
withId(long id)
VersionHistorySummary.Builder
withLastModificationDate(Date lastModificationDate)
VersionHistorySummary.Builder
withLastModifier(ConfluenceUser lastModifier)
VersionHistorySummary.Builder
withVersion(int version)
VersionHistorySummary.Builder
withVersionComment(String versionComment)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VersionHistorySummaryCollaborator summary)
-
Builder
public Builder(VersionHistorySummary summary)
-
-
Method Detail
-
withId
public VersionHistorySummary.Builder withId(long id)
-
withVersion
public VersionHistorySummary.Builder withVersion(int version)
-
getVersion
public int getVersion()
-
withVersionComment
public VersionHistorySummary.Builder withVersionComment(String versionComment)
-
withLastModificationDate
public VersionHistorySummary.Builder withLastModificationDate(Date lastModificationDate)
-
withLastModifier
public VersionHistorySummary.Builder withLastModifier(ConfluenceUser lastModifier)
-
withContributor
public VersionHistorySummary.Builder withContributor(ConfluenceUser contributor)
-
build
public VersionHistorySummary build()
-
-