@ExperimentalApi public class Version extends Object implements NavigationAware
Content
.Modifier and Type | Class and Description |
---|---|
static class |
Version.Expansions |
static class |
Version.VersionBuilder
Creates
Version instances. |
Modifier and Type | Method and Description |
---|---|
static Version.VersionBuilder |
builder()
Returns a
Version.VersionBuilder instance that can be used to create a new Version object. |
static Version.VersionBuilder |
builder(Version version) |
static Reference<Version> |
buildReference(int number) |
static Reference<Version> |
buildReference(Reference<Content> contentRef,
int number)
Deprecated.
since 5.6 use
buildReference(int) |
boolean |
equals(Object o) |
Person |
getBy() |
Reference<Content> |
getContentRef() |
String |
getMessage() |
int |
getNumber() |
String |
getSyncRev()
syncRev is the revision id provided by Synchrony.
|
static int |
getVersionNumber(Reference<Version> versionRef) |
org.joda.time.DateTime |
getWhen() |
int |
hashCode() |
boolean |
isHidden() |
boolean |
isMinorEdit() |
Version.VersionBuilder |
nextBuilder()
Creates a version builder with the version number set as the next
version after this version
|
Navigation.Builder |
resolveNavigation(NavigationService navigationService) |
String |
toString() |
public static Version.VersionBuilder builder()
Version.VersionBuilder
instance that can be used to create a new Version
object.public static Version.VersionBuilder builder(Version version)
public Navigation.Builder resolveNavigation(NavigationService navigationService)
resolveNavigation
in interface NavigationAware
@Deprecated public static Reference<Version> buildReference(Reference<Content> contentRef, int number)
buildReference(int)
public Person getBy()
public org.joda.time.DateTime getWhen()
public String getMessage()
public int getNumber()
public boolean isMinorEdit()
public boolean isHidden()
public String getSyncRev()
ContentEntityObject.SYNC_REV
,
com.atlassian.confluence.core.SaveContext#getSyncRev()
public Version.VersionBuilder nextBuilder()
Copyright © 2003–2018 Atlassian. All rights reserved.