EagleEyeLauncher class
The main launcher for Eagle Eye architecture validation.
EagleEyeLauncher coordinates the analysis of a Dart project using the Eagle Eye tool. It performs the following steps:
- Loads the configuration file (
eagle_eye_config.json) via EagleEyeRepository. - Collects all Dart files in the
lib/folder. - Determines the application name from
pubspec.yaml. - Uses EagleEyeMatcher to find which rules apply to each file.
- Uses EagleEyeVisitor to analyze imports and collect violations.
- Logs errors using LoggerHelper and exits with a non-zero code if violations exist.
Constructors
- EagleEyeLauncher()
- Initializes the launcher with the default repository, file helper, and JSON converter.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
launchEagleEye(
) → Future< void> - Launches the Eagle Eye analysis on the current Dart project.
-
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