- All Implemented Interfaces:
- ActivityType<DiagActivity>, Named
@AutoService(value=io.engineblock.activityapi.core.ActivityType.class)
public class DiagActivityType
extends Object
implements ActivityType<DiagActivity>
The DiagActivity, aka "diag", is simply a diagnostic activity.
It logs the input to priority INFO on some interval, in milliseconds.
Each interval, one of the diag actions will report both the current input value and
the number of milliseconds that have elapsed since the activity was scheduled to report.
Diag serves as a basic template for implementing your own activity type.