KnowledgeNoticeCode enum
What a KnowledgeNotice reports. wireValue is the stable code a host
matches; a later release may add codes, so a switch over them keeps a
default.
Values
- unresolvedRelationship → const KnowledgeNoticeCode
-
A match links, through a typed
relationshipsentry or a body link, to a target that resolves to no concept of the bundle.const KnowledgeNoticeCode('unresolved-relationship') - unresolvedSource → const KnowledgeNoticeCode
-
A match's
resource,sources[].resource,computation,executor.resourceorattester.resourceis a path that names no file or directory, in the bundle or, for one that leaves the bundle, on disk. These fields cite what a concept rests on; they are not relationships.const KnowledgeNoticeCode('unresolved-source') -
A governing source the search policy names is excluded by the policy or has no passage, so it could not be added as context.
const KnowledgeNoticeCode('governing-source-unavailable') - refreshInProgress → const KnowledgeNoticeCode
-
Another operation was refreshing the index, and the search served the last published generation (
StaleIndexPolicy.serveWhileRefreshing).const KnowledgeNoticeCode('refresh-in-progress') - sourceChanged → const KnowledgeNoticeCode
-
Files changed after the served generation was built, so passages cited from them may no longer match the files.
const KnowledgeNoticeCode('source-changed')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
The kebab-case code, such as
unresolved-relationship.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
KnowledgeNoticeCode> - A constant List of the values in this enum, in order of their declaration.