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_location () |
void | as_validator_issue_set_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_location (AsValidatorIssue *issue
);
Gets a location hint for the issue.
void as_validator_issue_set_location (AsValidatorIssue *issue
,const gchar *location
);
Sets a location hint for this issue.
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 |