Release
Object Hierarchy:
Description:
[ CCode ( type_id = "as_release_get_type ()" ) ]
public class Release : Object
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_checksum (Checksum cs)
Add a checksum for the file associated with this release.
- public void add_issue (Issue issue)
Add information about a (resolved) issue to this release.
- public void add_location (string location)
Adds a release location.
- 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 Checksum? get_checksum (ChecksumKind kind)
Gets the release checksum
- public unowned GenericArray<Checksum> get_checksums ()
Get a list of all checksums we have for 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 unowned GenericArray<string> get_locations ()
Gets the release locations, typically URLs.
- public uint64 get_size (SizeKind kind)
Gets the release size.
- 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_size (uint64 size, SizeKind kind)
Sets the release size for the given kind.
- 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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref