Class Version
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expandablefdb576protected StringThe revision id provided by confluence to be used as a revision in Synchronyprotected ContentBase object for all content types.protected BooleanTrue if content type is modifed in this version (e.g.protected Stringprotected Stringprotected BooleanIf `minorEdit` is set to 'true', no notification email or activity stream will be generated for the change.protected IntegerSet this to the current version number incremented by oneprotected StringThe revision id provided by Synchronyprotected StringSource of the synchrony revisionprotected Instant -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVersion()Protected no-args constructor for use by serialization frameworks.Constructs a validated instance ofVersion.Version(Map<String, Object> by, Instant when, String friendlyWhen, String message, Integer number, Boolean minorEdit, Content content, Map<String, Object> collaborators, Expandablefdb576 additionalExpandable, Map<String, Object> additionalLinks, Boolean contentTypeModified, String confRev, String syncRev, String syncRevSource) Constructs a validated instance ofVersion. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalExpandable.additionalExpandable(Expandablefdb576 additionalExpandable) Fluent setter for additionalExpandable.Fluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.by()Fluent getter for by.Fluent setter for by.Fluent getter for collaborators.collaborators(Map<String, Object> collaborators) Fluent setter for collaborators.confRev()Fluent getter for confRev.Fluent setter for confRev.content()Fluent getter for content.Fluent setter for content.Fluent getter for contentTypeModified.contentTypeModified(Boolean contentTypeModified) Fluent setter for contentTypeModified.booleanFluent getter for friendlyWhen.friendlyWhen(String friendlyWhen) Fluent setter for friendlyWhen.Gets the value of additionalExpandable.Gets the value of additionalLinks.getBy()Gets the value of by.Gets the value of collaborators.Gets the value of confRev.Gets the value of content.Gets the value of contentTypeModified.Gets the value of friendlyWhen.Gets the value of message.Gets the value of minorEdit.Gets the value of number.Gets the value of syncRev.Gets the value of syncRevSource.getWhen()Gets the value of when.inthashCode()message()Fluent getter for message.Fluent setter for message.Fluent getter for minorEdit.Fluent setter for minorEdit.number()Fluent getter for number.Fluent setter for number.voidsetAdditionalExpandable(Expandablefdb576 additionalExpandable) Sets the value of additionalExpandable.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidSets the value of by.voidsetCollaborators(Map<String, Object> collaborators) Sets the value of collaborators.voidsetConfRev(String confRev) Sets the value of confRev.voidsetContent(Content content) Sets the value of content.voidsetContentTypeModified(Boolean contentTypeModified) Sets the value of contentTypeModified.voidsetFriendlyWhen(String friendlyWhen) Sets the value of friendlyWhen.voidsetMessage(String message) Sets the value of message.voidsetMinorEdit(Boolean minorEdit) Sets the value of minorEdit.voidSets the value of number.voidsetSyncRev(String syncRev) Sets the value of syncRev.voidsetSyncRevSource(String syncRevSource) Sets the value of syncRevSource.voidSets the value of when.syncRev()Fluent getter for syncRev.Fluent setter for syncRev.Fluent getter for syncRevSource.syncRevSource(String syncRevSource) Fluent setter for syncRevSource.toString()when()Fluent getter for when.Fluent setter for when.
-
Field Details
-
by
-
when
-
friendlyWhen
-
message
-
number
Set this to the current version number incremented by one -
minorEdit
If `minorEdit` is set to 'true', no notification email or activity stream will be generated for the change. -
Base object for all content types. Representation of a blogpost (content)
-
collaborators
-
additionalExpandable
-
additionalLinks
-
contentTypeModified
True if content type is modifed in this version (e.g. page to blog) -
confRev
The revision id provided by confluence to be used as a revision in Synchrony -
syncRev
The revision id provided by Synchrony -
syncRevSource
Source of the synchrony revision
-
-
Constructor Details
-
Version
-
Version
@Internal protected Version()Protected no-args constructor for use by serialization frameworks. -
Version
@Internal public Version(Map<String, Object> by, Instant when, String friendlyWhen, String message, Integer number, Boolean minorEdit, Content content, Map<String, Object> collaborators, Expandablefdb576 additionalExpandable, Map<String, Object> additionalLinks, Boolean contentTypeModified, String confRev, String syncRev, String syncRevSource) Constructs a validated instance ofVersion.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Version(Consumer)instead.- Parameters:
by- bywhen- whenfriendlyWhen- friendlyWhenmessage- messagenumber- Set this to the current version number incremented by oneminorEdit- If `minorEdit` is set to 'true', no notification email or activity stream will be generated for the change.content- Base object for all content types. Representation of a blogpost (content)collaborators- collaboratorsadditionalExpandable- additionalExpandableadditionalLinks- additionalLinkscontentTypeModified- True if content type is modifed in this version (e.g. page to blog)confRev- The revision id provided by confluence to be used as a revision in SynchronysyncRev- The revision id provided by SynchronysyncRevSource- Source of the synchrony revision
-
-
Method Details
-
by
-
by
-
getBy
-
setBy
-
when
-
when
-
getWhen
-
setWhen
-
friendlyWhen
-
friendlyWhen
-
getFriendlyWhen
-
setFriendlyWhen
Sets the value of friendlyWhen.- Parameters:
friendlyWhen- friendlyWhen
-
message
-
message
-
getMessage
-
setMessage
-
number
Fluent getter for number.Set this to the current version number incremented by one
- Returns:
- number
-
number
-
getNumber
Gets the value of number.Set this to the current version number incremented by one
- Returns:
- number
-
setNumber
Sets the value of number.Set this to the current version number incremented by one
- Parameters:
number- number
-
minorEdit
Fluent getter for minorEdit.If `minorEdit` is set to 'true', no notification email or activity stream will be generated for the change.
- Returns:
- minorEdit
-
minorEdit
-
getMinorEdit
Gets the value of minorEdit.If `minorEdit` is set to 'true', no notification email or activity stream will be generated for the change.
- Returns:
- minorEdit
-
setMinorEdit
Sets the value of minorEdit.If `minorEdit` is set to 'true', no notification email or activity stream will be generated for the change.
- Parameters:
minorEdit- minorEdit
-
content
Fluent getter for content.Base object for all content types. Representation of a blogpost (content)
- Returns:
- content
-
content
-
getContent
Gets the value of content.Base object for all content types. Representation of a blogpost (content)
- Returns:
- content
-
setContent
Sets the value of content.Base object for all content types. Representation of a blogpost (content)
- Parameters:
content- content
-
collaborators
-
collaborators
-
getCollaborators
-
setCollaborators
-
additionalExpandable
Fluent getter for additionalExpandable.- Returns:
- additionalExpandable
-
additionalExpandable
Fluent setter for additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable- Returns:
- this
-
getAdditionalExpandable
Gets the value of additionalExpandable.- Returns:
- additionalExpandable
-
setAdditionalExpandable
Sets the value of additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable
-
additionalLinks
-
additionalLinks
-
getAdditionalLinks
-
setAdditionalLinks
-
contentTypeModified
Fluent getter for contentTypeModified.True if content type is modifed in this version (e.g. page to blog)
- Returns:
- contentTypeModified
-
contentTypeModified
-
getContentTypeModified
Gets the value of contentTypeModified.True if content type is modifed in this version (e.g. page to blog)
- Returns:
- contentTypeModified
-
setContentTypeModified
Sets the value of contentTypeModified.True if content type is modifed in this version (e.g. page to blog)
- Parameters:
contentTypeModified- contentTypeModified
-
confRev
Fluent getter for confRev.The revision id provided by confluence to be used as a revision in Synchrony
- Returns:
- confRev
-
confRev
-
getConfRev
Gets the value of confRev.The revision id provided by confluence to be used as a revision in Synchrony
- Returns:
- confRev
-
setConfRev
Sets the value of confRev.The revision id provided by confluence to be used as a revision in Synchrony
- Parameters:
confRev- confRev
-
syncRev
Fluent getter for syncRev.The revision id provided by Synchrony
- Returns:
- syncRev
-
syncRev
-
getSyncRev
Gets the value of syncRev.The revision id provided by Synchrony
- Returns:
- syncRev
-
setSyncRev
Sets the value of syncRev.The revision id provided by Synchrony
- Parameters:
syncRev- syncRev
-
syncRevSource
Fluent getter for syncRevSource.Source of the synchrony revision
- Returns:
- syncRevSource
-
syncRevSource
-
getSyncRevSource
Gets the value of syncRevSource.Source of the synchrony revision
- Returns:
- syncRevSource
-
setSyncRevSource
Sets the value of syncRevSource.Source of the synchrony revision
- Parameters:
syncRevSource- syncRevSource
-
equals
-
hashCode
-
toString
-