public function SensorResultInterface::compile in Monitoring 8
Same name and namespace in other branches
- 7 lib/Drupal/monitoring/Result/SensorResultInterface.php \Drupal\monitoring\Result\SensorResultInterface::compile()
Compiles added status messages sets the status.
If the status is STATUS_UNKNOWN, this will attempt to set the status based on expected value and threshold configurations. See \Drupal\monitoring\SensorPlugin\SensorPluginInterface::runSensor() for details.
Throws
\Drupal\monitoring\Sensor\SensorCompilationException Thrown if an error occurs during the sensor result compilation.
1 method overrides SensorResultInterface::compile()
- SensorResult::compile in src/
Result/ SensorResult.php - Compiles added status messages sets the status.
File
- src/
Result/ SensorResultInterface.php, line 43 - Contains \Drupal\monitoring\Result\SensorResultInterface.
Class
- SensorResultInterface
- Interface for a sensor result.
Namespace
Drupal\monitoring\ResultCode
public function compile();