-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
InfrastructureIssues for the overall plugin infrastructureIssues for the overall plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing feature
Milestone
Description
Description
The Check Runner interface will be implemented by the specific context runner classes like AJAX runner or CLI runner. This interface will have access to the Checks class and its methods to run checks. The interface will have a run method that will be the responsibility of classes to implement to start the runner according to their context.
Acceptance Criteria
- A new
Check_Runnerinterface is created and exists atincludes/Checker. - The
Check_Runnerinterface contains a publicis_plugin_check()method.- The
is_plugin_checkmethod will return a boolean. - The method will be used to determine if the current request is intended for the plugin checker.
- The
- The
Check_Runnerinterface contains a publicprepare()method.- The
prepare()method will be used to run any universal preparations depending on the checks requested.
- The
- The
Check_Runnerinterface contains a publicrun()method.- The
runmethod returns an instance of theCheck_Resultsclass. - The method will run the requested checks against the plugin context and return the results.
- The
Metadata
Metadata
Assignees
Labels
InfrastructureIssues for the overall plugin infrastructureIssues for the overall plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing feature