Update

@Entity
open class Update : EquinoxItem

The Update class is useful to represent an update

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Constructors

Link copied to clipboard
constructor()
Default constructor
constructor(id: String, author: PandoroUser, createDate: Long, targetVersion: String, status: UpdateStatus, project: Project)
Constructor to init a Update object
constructor(id: String, author: PandoroUser, createDate: Long, targetVersion: String, startedBy: PandoroUser, startDate: Long, publishedBy: PandoroUser, publishDate: Long, status: UpdateStatus, notes: ArrayList<Note>, project: Project, events: List<UpdateEvent>)
Constructor to init a Update object

Properties

Link copied to clipboard
author the author of the update
Link copied to clipboard
private val createDate: Long
createDate when the update has been created
Link copied to clipboard
Link copied to clipboard
events the events occurred during the lifecycle of the update
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
private val notes: List<Note>
notes the notes for the update to be done
Link copied to clipboard
private val project: Project
project the project owner
Link copied to clipboard
private val publishDate: Long
publishDate when the update has been published
Link copied to clipboard
publishedBy who published the update
Link copied to clipboard
private val startDate: Long
startDate when the update has been started
Link copied to clipboard
startedBy who created the update
Link copied to clipboard
status the status of the update
Link copied to clipboard
targetVersion the target project_version of the update

Functions

Link copied to clipboard
Method to get createDate instance
Link copied to clipboard
Method to get how many days have been required to publish the update
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getNotes(): ArrayList<Note>
Method to get notes instance
Link copied to clipboard
Method to get publishDate instance
Link copied to clipboard
open fun getStartTimestamp(): Long
Method to get startDate instance
Link copied to clipboard
open fun isPublished(): Boolean
Method used to check whether the update has been PUBLISHED
Link copied to clipboard
open fun toString(): String