Release
Object Hierarchy:
Description:
Namespace: AppStream
Package: appstream
Content:
Creation methods:
- public Release ()
Creates a new Release.
Methods:
- public void add_artifact (Artifact artifact)
Add an artifact (binary / source download) for this release.
- public void add_issue (Issue issue)
Add information about a (resolved) issue to this release.
- public unowned string get_active_locale ()
Get the current active locale, which is used to get localized messages.
- public unowned GenericArray<Artifact> get_artifacts ()
Get a list of all downloadable artifacts that are associated with this release.
- public unowned string? get_date ()
Gets the release date.
- public unowned string? get_date_eol ()
Gets the end-of-life date for this release.
- public unowned string? get_description ()
Gets the release description markup for a given locale.
- public unowned GenericArray<Issue> get_issues ()
Get a list of all issues resolved by this release.
- public ReleaseKind get_kind ()
Gets the type of the release.
- public uint64 get_timestamp ()
Gets the release timestamp.
- public uint64 get_timestamp_eol ()
Gets the UNIX timestamp for the date when this release is out of support ( end-of-life).
- public UrgencyKind get_urgency ()
Gets the urgency of the release (showing how important it is to update to a more recent release)
- public unowned string? get_url (ReleaseUrlKind url_kind)
Gets an URL.
- public unowned string? get_version ()
Gets the release version.
- public void set_active_locale (string? locale)
Set the current active locale, which is used to get localized messages.
- public void set_date (string date)
Sets the release date.
- public void set_date_eol (string date)
Sets the end-of-life date for this release.
- public void set_description (string description, string? locale)
Sets the description release markup.
- public void set_kind (ReleaseKind kind)
Sets the release kind to distinguish between end-user ready stable releases and development prereleases.
- public void set_timestamp (uint64 timestamp)
Sets the release timestamp.
- public void set_timestamp_eol (uint64 timestamp)
Sets the UNIX timestamp for the date when this release is out of support ( end-of-life).
- public void set_urgency (UrgencyKind urgency)
Sets the release urgency.
- public void set_url (ReleaseUrlKind url_kind, string url)
Sets an URL for this release.
- public void set_version (string version)
Sets the release version.
- public int vercmp (Release rel2)
Compare the version numbers of two releases.
Inherited Members:
All known members inherited from class GLib.Object