Modifier and Type | Class and Description |
---|---|
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() |
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 |
isMinorEdit() |
Version.VersionBuilder |
nextBuilder()
Creates a version builder with the version number set as the next
version after this version
|
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)
@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 String getSyncRev()
public Version.VersionBuilder nextBuilder()
Copyright © 2003–2016 Atlassian. All rights reserved.