Release
The Release class is useful to represent a Nova's release
Author
N7ghtm4r3 - Tecknobit
See also
Constructors
Link copied to clipboard
constructor()
Constructor to init the Release class No-any params required
constructor(jRelease: JSONObject)
Constructor to init the Release class
constructor(id: String, project: Project, releaseVersion: String, status: Release.ReleaseStatus, releaseNotes: String, creationDate: Long, releaseEvents: List<ReleaseEvent>, approbationDate: Long)
Constructor to init the Release class
Types
Link copied to clipboard
enum ReleaseStatus
ReleaseStatus list of possible statuses of a releaseProperties
Link copied to clipboard
ALLOWED_ASSETS_TYPE list of allowed type to upload as assetsLink copied to clipboard
APPROBATION_DATE_KEY the key for the "approbation_date" fieldLink copied to clipboard
approbationDate the date when the release has been approvedLink copied to clipboard
CREATION_DATE_KEY the key for the "creation_date" fieldLink copied to clipboard
creationDate the date when the release has been createdLink copied to clipboard
Link copied to clipboard
Link copied to clipboard
RELEASE_EVENTS_KEY the key for the "release_events" fieldLink copied to clipboard
RELEASE_IDENTIFIER_KEY the key for the "release_id" fieldLink copied to clipboard
RELEASE_KEY the key for the "release" fieldLink copied to clipboard
RELEASE_NOTES_CONTENT_KEY the key for the "content" fieldLink copied to clipboard
RELEASE_NOTES_KEY the key for the "release_notes" fieldLink copied to clipboard
RELEASE_REPORT_PATH path to reach the report of the releaseLink copied to clipboard
RELEASE_STATUS_KEY the key for the "release_status" fieldLink copied to clipboard
RELEASE_VERSION_KEY the key for the "release_version" fieldLink copied to clipboard
releaseEvents list of the events occurred on the releaseLink copied to clipboard
releaseNotes the notes attached to the releaseLink copied to clipboard
RELEASES_KEY the key for the "releases" fieldLink copied to clipboard
releaseVersion the version of the releaseLink copied to clipboard
status the current status of the releaseLink copied to clipboard
Functions
Link copied to clipboard
Method to get approbationDate instance No-any params required
Link copied to clipboard
Method to get approbationDate instance No-any params required
Link copied to clipboard
Method to get creationDate instance No-any params required
Link copied to clipboard
Method to get creationDate instance No-any params required
Link copied to clipboard
Method to get the last event occurred No-any params required
Link copied to clipboard
Method to get the last promotion event occurred in the current release No-any params required
Link copied to clipboard
Method to count the notifications of a specific target
Link copied to clipboard
Method to get the specific asset uploading event
Link copied to clipboard
Method to get the specific rejected event
Link copied to clipboard
Method to get whether a generic event is the latest occurred
Link copied to clipboard
Method to assemble and return a List of releases