AppStream.ValidatorIssue – appstream Reference Manual
Packages
appstream
AppStream
ValidatorIssue
ValidatorIssue
get_cid
get_explanation
get_filename
get_hint
get_line
get_location
get_severity
get_tag
set_cid
set_explanation
set_filename
set_hint
set_line
set_severity
set_tag
ValidatorIssue
Object Hierarchy:
Description:
[
CCode
( type_id =
"as_validator_issue_get_type ()"
) ]
public
class
ValidatorIssue
:
Object
Namespace:
AppStream
Package:
appstream
Content:
Creation methods:
public
ValidatorIssue
()
Creates a new
ValidatorIssue
.
Methods:
public
unowned
string
get_cid
()
The component-id this issue is about.
public
unowned
string
get_explanation
()
Get an extended explanation on this issue, or return
null
if none is available.
public
unowned
string
get_filename
()
The name of the file this issue was found in.
public
unowned
string
get_hint
()
Get a short context hint for this issue.
public
long
get_line
()
Gets the line number where this issue was found.
public
string
get_location
()
Builds a string containing all information about the location where this issue occured that we know about.
public
IssueSeverity
get_severity
()
Gets the severity of this issue.
public
unowned
string
get_tag
()
Gets the issue tag string for this issue.
public
void
set_cid
(
string
cid)
Sets the component-id this issue is about.
public
void
set_explanation
(
string
explanation)
Set explanatory text for this issue.
public
void
set_filename
(
string
fname)
Sets the name of the file the issue was found in.
public
void
set_hint
(
string
hint)
Sets short issue hint.
public
void
set_line
(
long
line)
Sets the line number where this issue was found.
public
void
set_severity
(
IssueSeverity
severity)
Sets the severity for this issue.
public
void
set_tag
(
string
tag)
Sets the issue tag.
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