public function SensorResultInterface::compile in Monitoring 7
Same name and namespace in other branches
- 8 src/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\Sensor\SensorInterface::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 lib/
Drupal/ monitoring/ Result/ SensorResult.php - Compiles added status messages sets the status.
File
- lib/
Drupal/ monitoring/ Result/ SensorResultInterface.php, line 128 - Contains \Drupal\monitoring\Result\SensorResultInterface.
Class
- SensorResultInterface
- Interface for a sensor result.
Namespace
Drupal\monitoring\ResultCode
public function compile();