- AbstractAgent - Class in net.obvj.agents
-
A common interface for all managed agents
- AbstractAgent.State - Enum in net.obvj.agents
-
- afterRun() - Method in class net.obvj.agents.CronAgent
-
- afterRun() - Method in class net.obvj.agents.TimerAgent
-
- Agent - Annotation Type in net.obvj.agents.annotation
-
Identifies the annotated class as an Agent.
- AgentConfiguration - Class in net.obvj.agents.conf
-
An object that parses and stores the configuration data for a particular agent.
- agentConfiguration(String, Object...) - Static method in class net.obvj.agents.util.Exceptions
-
- agentConfiguration(Throwable, String, Object...) - Static method in class net.obvj.agents.util.Exceptions
-
- AgentConfiguration.Builder - Class in net.obvj.agents.conf
-
- AgentConfiguration.Source - Enum in net.obvj.agents.conf
-
Enumerates supported configuration sources and their precedence levels.
- AgentConfigurationException - Exception in net.obvj.agents.exception
-
An exception that can be thrown in cases of bad agent configuration.
- AgentConfigurationException(String) - Constructor for exception net.obvj.agents.exception.AgentConfigurationException
-
Constructs an AgentConfigurationException with the specified detail message.
- AgentConfigurationException(String, Throwable) - Constructor for exception net.obvj.agents.exception.AgentConfigurationException
-
Constructs a new exception with the specified detail message and cause.
- AgentConfigurationException(Throwable) - Constructor for exception net.obvj.agents.exception.AgentConfigurationException
-
Constructs a new exception with the specified cause and a detail message of
{@code (cause==null ?
- AgentFactory - Class in net.obvj.agents.util
-
- AgentManager - Class in net.obvj.agents
-
A component that provides methods for Agents maintenance.
- AgentManager() - Constructor for class net.obvj.agents.AgentManager
-
- agentRuntime(String, Object...) - Static method in class net.obvj.agents.util.Exceptions
-
- agentRuntime(Throwable, String, Object...) - Static method in class net.obvj.agents.util.Exceptions
-
- AgentRuntimeException - Exception in net.obvj.agents.exception
-
An exception that can be thrown by agents at runtime.
- AgentRuntimeException(String) - Constructor for exception net.obvj.agents.exception.AgentRuntimeException
-
Constructs an AgentRuntimeException with the specified detail message.
- AgentRuntimeException(String, Throwable) - Constructor for exception net.obvj.agents.exception.AgentRuntimeException
-
Constructs a new exception with the specified detail message and cause.
- AgentRuntimeException(Throwable) - Constructor for exception net.obvj.agents.exception.AgentRuntimeException
-
Constructs a new exception with the specified cause and a detail message of
{@code (cause==null ?
- AgentThreadFactory - Class in net.obvj.agents.util
-
An object that creates new threads for SMART agents.
- AgentThreadFactory(String) - Constructor for class net.obvj.agents.util.AgentThreadFactory
-
Creates a new thread factory for the agent identified by the given name.
- AgentType - Enum in net.obvj.agents
-
Enumerates available
Agent types and associated facilities.
- AnnotatedAgent - Class in net.obvj.agents.impl
-
An object that prepares and holds the required metadata and infrastructure for the
execution of an object annotated as @Agent.
- AnnotatedAgent(AgentConfiguration) - Constructor for class net.obvj.agents.impl.AnnotatedAgent
-
Validates annotations and prepares all objects for execution.
- AnnotatedAgentScanner - Class in net.obvj.agents.util
-
Contains methods for scanning package(s) to find annotated agents.
- AnnotatedCronAgent - Class in net.obvj.agents.impl
-
A
CronAgent that runs an object annotated with
@Agent.
- AnnotatedCronAgent(AgentConfiguration) - Constructor for class net.obvj.agents.impl.AnnotatedCronAgent
-
- AnnotatedTimerAgent - Class in net.obvj.agents.impl
-
A
TimerAgent that runs an object annotated with
@Agent.
- AnnotatedTimerAgent(AgentConfiguration) - Constructor for class net.obvj.agents.impl.AnnotatedTimerAgent
-
- AnnotationUtils - Class in net.obvj.agents.util
-
Utility methods for working with annotations and package scanning.
- AnnotationUtils.MethodFilter - Enum in net.obvj.agents.util
-
Enumerates applicable method filters.
- ApplicationContextFacade - Class in net.obvj.agents.util
-
A facade for the Application Context holding the components required by this project.
- getAgentClass() - Method in class net.obvj.agents.impl.AnnotatedAgent
-
- getAgentInstance() - Method in class net.obvj.agents.impl.AnnotatedAgent
-
- getAgents() - Method in class net.obvj.agents.AgentManager
-
- getAgentStatusStr(String) - Method in class net.obvj.agents.AgentManager
-
Returns a string containing agent status information for reporting.
- getAverageRunDuration() - Method in class net.obvj.agents.AbstractAgent
-
- getBean(Class<T>) - Static method in class net.obvj.agents.util.ApplicationContextFacade
-
Return the bean instance that uniquely matches the given object type.
- getCalendarConstant() - Method in enum net.obvj.agents.util.TimeUnit
-
Returns the
Calendar constant associated with this Time Unit.
- getClassName() - Method in class net.obvj.agents.conf.AgentConfiguration
-
- getClonedCalendar(Calendar) - Static method in class net.obvj.agents.util.DateUtils
-
Creates and returns a clone of the given calendar object.
- getConfiguration() - Method in class net.obvj.agents.AbstractAgent
-
- getCronExpression() - Method in class net.obvj.agents.CronAgent
-
- getDefaultInterval() - Method in enum net.obvj.agents.AgentType
-
Returns the default interval for an agent type.
- getDuration() - Method in class net.obvj.agents.util.TimeInterval
-
- getFactoryFunction() - Method in enum net.obvj.agents.AgentType
-
Returns the default factory
Function to be applied for instantiating new agents
of this type.
- getHighestPrecedenceConfiguration(Collection<AgentConfiguration>) - Static method in class net.obvj.agents.conf.AgentConfiguration
-
Returns the AgentConfiguration with the highest precedence level among the objects in
the specified
Collection.
- getHighestPrecedenceSource(AgentConfiguration.Source...) - Static method in enum net.obvj.agents.conf.AgentConfiguration.Source
-
Returns the source with the highest precedence level among the specified sources
- getInstance() - Static method in class net.obvj.agents.AgentManager
-
Returns the managed instance of this component.
- getInterval() - Method in class net.obvj.agents.conf.AgentConfiguration
-
- getInterval() - Method in class net.obvj.agents.TimerAgent
-
Returns the interval configured for this TimerAgent.
- getLastRunDate() - Method in class net.obvj.agents.AbstractAgent
-
- getName() - Method in class net.obvj.agents.AbstractAgent
-
- getName() - Method in class net.obvj.agents.conf.AgentConfiguration
-
- getNextExactDateEveryInterval(int, TimeUnit) - Static method in class net.obvj.agents.util.DateUtils
-
Return the next exact date for a given interval and time unit after the current time.
- getNextExactDateEveryInterval(int, TimeUnit, Date) - Static method in class net.obvj.agents.util.DateUtils
-
Return the next exact date given a specific interval and time unit after the specified
date.
- getNextExactDateEveryInterval(int, TimeUnit, Calendar) - Static method in class net.obvj.agents.util.DateUtils
-
Return the next exact date given a specific interval and time unit after the specified
Calendar instance.
- getNextExecutionDate() - Method in class net.obvj.agents.CronAgent
-
- getPrecedence() - Method in enum net.obvj.agents.conf.AgentConfiguration.Source
-
Returns the precedence level for this source, ordered from highest to lowest, so that
higher-level sources have more precedence/importance than the other ones.
- getRunMethod() - Method in class net.obvj.agents.impl.AnnotatedAgent
-
- getSinglePublicMethodWithAnnotation(Class<? extends Annotation>, Class<?>) - Static method in class net.obvj.agents.util.AnnotationUtils
-
Returns the public method of the given class that is annotated with the given
annotation, provided that only a single method containing this annotation exists in the
class.
- getSinglePublicMethodWithAnnotation(Class<? extends Annotation>, Class<?>, AnnotationUtils.MethodFilter) - Static method in class net.obvj.agents.util.AnnotationUtils
-
Returns the public method of the given class that is annotated with the given
annotation, provided that only a single method containing this annotation exists in the
class.
- getSource() - Method in class net.obvj.agents.conf.AgentConfiguration
-
- getStartDate() - Method in class net.obvj.agents.AbstractAgent
-
- getState() - Method in class net.obvj.agents.AbstractAgent
-
- getStatusString() - Method in class net.obvj.agents.AbstractAgent
-
- getStatusString() - Method in class net.obvj.agents.CronAgent
-
- getStatusString() - Method in class net.obvj.agents.TimerAgent
-
- getTimeUnit() - Method in class net.obvj.agents.util.TimeInterval
-
- getType() - Method in class net.obvj.agents.AbstractAgent
-
- getType() - Method in class net.obvj.agents.conf.AgentConfiguration
-
- valueOf(String) - Static method in enum net.obvj.agents.AbstractAgent.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.agents.AgentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.agents.conf.AgentConfiguration.Source
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.agents.util.AnnotationUtils.MethodFilter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.agents.util.TimeUnit
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.obvj.agents.AbstractAgent.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.agents.AgentType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.agents.conf.AgentConfiguration.Source
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.agents.util.AnnotationUtils.MethodFilter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.agents.util.TimeUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.