| Package | Description |
|---|---|
| net.obvj.agents |
The base package.
|
| net.obvj.agents.conf |
Provides classes for working with agents configuration.
|
| net.obvj.agents.impl |
Provides mainly internal classes for agents runtime.
|
| net.obvj.agents.util |
Provides utility classes in general.
|
| Modifier and Type | Method and Description |
|---|---|
AgentConfiguration |
AbstractAgent.getConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Function<AgentConfiguration,AbstractAgent> |
AgentType.getFactoryFunction()
Returns the default factory
Function to be applied for instantiating new agents
of this type. |
| Modifier and Type | Method and Description |
|---|---|
AgentConfiguration |
AgentConfiguration.Builder.build() |
static AgentConfiguration |
AgentConfiguration.fromAnnotatedClass(Class<?> agentClass)
Parses the agent configuration by checking the
Agent annotation in the
specified class. |
| Modifier and Type | Method and Description |
|---|---|
Optional<AgentConfiguration> |
GlobalConfigurationHolder.getHighestPrecedenceConfigurationByAgentClassName(String className)
Returns the highest-precedence
AgentConfiguration object associated with a
given class name. |
| Constructor and Description |
|---|
DynamicAgent(AgentConfiguration configuration)
Validates annotations and prepares all objects for execution.
|
DynamicCronAgent(AgentConfiguration configuration)
Creates a new DynamicCronAgent for the given
AgentConfiguration. |
DynamicTimerAgent(AgentConfiguration configuration)
Creates a new DynamicTimerAgent for the given
AgentConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static Set<AgentConfiguration> |
AnnotatedAgentScanner.scanPackage(String basePackage)
Scans the specified base package for agents.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractAgent |
AgentFactory.create(AgentConfiguration configuration)
Creates a new agent instance from the given
AgentConfiguration. |
Copyright © 2021. All rights reserved.