public class AnnotatedTimerAgent extends TimerAgent
TimerAgent that runs an object annotated with @Agent.AbstractAgent.State| Constructor and Description |
|---|
AnnotatedTimerAgent(AgentConfiguration configuration)
Creates a new AnnotatedTimerAgent for the given
AgentConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
afterRun, getInterval, getStatusString, onStart, onStopgetAverageRunDuration, getConfiguration, getLastRunDate, getName, getStartDate, getState, getType, isRunning, isStarted, isStopped, run, run, start, stoppublic AnnotatedTimerAgent(AgentConfiguration configuration)
AgentConfiguration.configuration - the AgentConfiguration to be parsedAgentConfigurationException - if any exception regarding a reflective operation
(e.g.: class or method not found) occursCopyright © 2021. All rights reserved.