ReviewExecutionContext class final
Shared execution context for review CLI commands, supporting both top-level
review_comments <cmd> execution and embedded <host> review <cmd>
subcommands.
Constructors
-
ReviewExecutionContext({String? repoRoot, ReviewProjectConfig? config, String? reviewDirectoryName, String? cliResolveCommand, List<
String> ? allowedSites, StringSink? out, StringSink? err, required ArgResults? parentResults(), required ArgResults? globalResults()})
Properties
-
allowedSites
→ List<
String> ? -
final
- err → StringSink
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- out → StringSink
-
final
- repoRoot → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveConfig(
{String? reviewDirectoryOverride}) → ReviewProjectConfig -
resolveDirectoryOverride(
ArgResults? subcommandArgs) → String? -
resolveOptionalSiteFilter(
ArgResults? subcommandArgs) → String? -
resolveStore(
ArgResults? subcommandArgs) → ReviewCommentStore -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited