Top | ![]() |
![]() |
![]() |
![]() |
AsValidatorIssue * | as_validator_issue_new () |
AsIssueKind | as_validator_issue_get_kind () |
void | as_validator_issue_set_kind () |
AsIssueImportance | as_validator_issue_get_importance () |
void | as_validator_issue_set_importance () |
const gchar * | as_validator_issue_get_message () |
void | as_validator_issue_set_message () |
const gchar * | as_validator_issue_get_cid () |
void | as_validator_issue_set_cid () |
const gchar * | as_validator_issue_get_filename () |
void | as_validator_issue_set_filename () |
gint | as_validator_issue_get_line () |
void | as_validator_issue_set_line () |
gchar * | as_validator_issue_get_location () |
#define | AS_TYPE_VALIDATOR_ISSUE |
struct | AsValidatorIssueClass |
enum | AsIssueImportance |
enum | AsIssueKind |
AsValidatorIssue |
AsValidatorIssue *
as_validator_issue_new (void
);
Creates a new AsValidatorIssue.
AsIssueKind
as_validator_issue_get_kind (AsValidatorIssue *issue
);
Gets the issue kind enum, if available.
void as_validator_issue_set_kind (AsValidatorIssue *issue
,AsIssueKind kind
);
Sets the kind enum for this issue, if known.
AsIssueImportance
as_validator_issue_get_importance (AsValidatorIssue *issue
);
Gets the importance of this issue.
void as_validator_issue_set_importance (AsValidatorIssue *issue
,AsIssueImportance importance
);
Sets the importance for this issue.
const gchar *
as_validator_issue_get_message (AsValidatorIssue *issue
);
Gets the message for the issue.
void as_validator_issue_set_message (AsValidatorIssue *issue
,const gchar *message
);
Sets a message on the issue.
const gchar *
as_validator_issue_get_cid (AsValidatorIssue *issue
);
The component-id this issue is about.
void as_validator_issue_set_cid (AsValidatorIssue *issue
,const gchar *cid
);
Sets the component-id this issue is about.
const gchar *
as_validator_issue_get_filename (AsValidatorIssue *issue
);
The name of the file this issue was found in.
void as_validator_issue_set_filename (AsValidatorIssue *issue
,const gchar *fname
);
Sets the name of the file the issue was found in.
gint
as_validator_issue_get_line (AsValidatorIssue *issue
);
Gets the line number where this issue was found.
void as_validator_issue_set_line (AsValidatorIssue *issue
,gint line
);
Sets the importance for this issue.
gchar *
as_validator_issue_get_location (AsValidatorIssue *issue
);
Builds a string containing all information about the location where this issue occured that we know about.
The importance of an issue found by AsValidator
The issue type.
Type invalid or not known |
||
The XML markup is invalid |
||
An element from a legacy AppStream specification has been found |
||
A tag is duplicated |
||
A required tag is missing |
||
An unknown tag was found |
||
A tag is not allowed in the current context |
||
A required property is missing |
||
A property is invalid |
||
A value is missing |
||
The value of a tag or property is wrong |
||
There is an issue with a tag or property value (often non-fatal) |
||
A required file or other metadata was missing |
||
The naming of an entity is wrong |
||
Reading of data failed |
||
Getting additional content from a remote location failed |
||
Unusual combination of values and likely not intended |