| Top |
| #define | AS_TYPE_VALIDATOR_ISSUE |
| struct | AsValidatorIssueClass |
| enum | AsIssueSeverity |
| #define | AsIssueImportance |
| #define | AS_ISSUE_IMPORTANCE_UNKNOWN |
| #define | AS_ISSUE_IMPORTANCE_ERROR |
| #define | AS_ISSUE_IMPORTANCE_WARNING |
| #define | AS_ISSUE_IMPORTANCE_INFO |
| #define | AS_ISSUE_IMPORTANCE_PEDANTIC |
| enum | AsIssueKind |
| AsValidatorIssue |
AsIssueSeverity
as_issue_severity_from_string (const gchar *str);
Converts the text representation to an enumerated value.
const gchar *
as_issue_severity_to_string (AsIssueSeverity severity);
Converts the enumerated value to an text representation.
AsValidatorIssue *
as_validator_issue_new (void);
Creates a new AsValidatorIssue.
const gchar *
as_validator_issue_get_tag (AsValidatorIssue *issue);
Gets the issue tag string for this issue.
Since: 0.12.8
void as_validator_issue_set_tag (AsValidatorIssue *issue,const gchar *tag);
Sets the issue tag.
Since: 0.12.8
AsIssueSeverity
as_validator_issue_get_severity (AsValidatorIssue *issue);
Gets the severity of this issue.
void as_validator_issue_set_severity (AsValidatorIssue *issue,AsIssueSeverity severity);
Sets the severity for this issue.
const gchar *
as_validator_issue_get_hint (AsValidatorIssue *issue);
Get a short context hint for this issue.
Since: 0.12.8
void as_validator_issue_set_hint (AsValidatorIssue *issue,const gchar *hint);
Sets short issue hint.
Since: 0.12.8
const gchar *
as_validator_issue_get_explanation (AsValidatorIssue *issue);
Get an extended explanation on this issue, or return NULL
if none is available.
Since: 0.12.8
void as_validator_issue_set_explanation (AsValidatorIssue *issue,const gchar *explanation);
Set explanatory text for this issue.
Since: 0.12.8
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.
glong
as_validator_issue_get_line (AsValidatorIssue *issue);
Gets the line number where this issue was found.
void as_validator_issue_set_line (AsValidatorIssue *issue,glong line);
Sets the line number where this issue was found.
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.
AsIssueSeverity
as_validator_issue_get_importance (AsValidatorIssue *issue);
as_validator_issue_get_importance is deprecated and should not be used in newly-written code.
This function is deprecated and should not be used in new code.
void as_validator_issue_set_importance (AsValidatorIssue *issue,AsIssueSeverity importance);
as_validator_issue_set_importance is deprecated and should not be used in newly-written code.
This function is deprecated and should not be used in new code.
AsIssueKind
as_validator_issue_get_kind (AsValidatorIssue *issue);
as_validator_issue_get_kind is deprecated and should not be used in newly-written code.
This function is deprecated.
void as_validator_issue_set_kind (AsValidatorIssue *issue,AsIssueKind kind);
as_validator_issue_set_kind is deprecated and should not be used in newly-written code.
This function is deprecated.
const gchar *
as_validator_issue_get_message (AsValidatorIssue *issue);
as_validator_issue_get_message is deprecated and should not be used in newly-written code.
This function is deprecated.
void as_validator_issue_set_message (AsValidatorIssue *issue,const gchar *message);
as_validator_issue_set_message is deprecated and should not be used in newly-written code.
This function is deprecated.
AsIssueKind is deprecated and should not be used in newly-written code.
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 |