Package frc.alotobots.util
Class Elastic
java.lang.Object
frc.alotobots.util.Elastic
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a notification object to be sent to the Elastic dashboard. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Sends an alert notification to the Elastic dashboard.
-
Constructor Details
-
Elastic
public Elastic()
-
-
Method Details
-
sendAlert
Sends an alert notification to the Elastic dashboard. The alert is serialized as a JSON string before being published.- Parameters:
alert
- theElastic.ElasticNotification
object containing alert details
-