VCSHooksHandler class abstract
Hooks handler that take care of handling related git hooks actions.
Constructors
- VCSHooksHandler({required OperatingSystem operatingSystem, required ScriptConfig config})
-
Create
const
Properties
- config → ScriptConfig
-
The script's configuration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- operatingSystem → OperatingSystem
-
The OperatingSystem that the script is running on.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkCommitMessage(
String commitMessage) → Future< void> - Check the commit message if it's match the rule.
-
executeBranchNamingCheck(
) → Future< String> - Execute branch naming check.
-
executeCodeStyleCheck(
) → Future< String> - Execute code style check.
-
executeIntegrationTests(
) → Future< String> - Execute integration tests.
-
executePreCommitChecks(
) → Future< void> - Execute before commit checks.
-
executeUiTests(
) → Future< String> - Execute UI tests.
-
executeUnitTests(
) → Future< String> - Execute unit tests.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setup(
) → Future< void> - Setup the hook handler.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited