Package com.embabel.agent.core
Class ProcessOptions
-
- All Implemented Interfaces:
public final class ProcessOptionsHow to run an AgentProcess
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProcessOptions.BuilderNested builder for ProcessOptions objects.
-
Field Summary
Fields Modifier and Type Field Description public final static ProcessOptionsDEFAULTprivate final ProcessControlcontrolprivate final ContextIdcontextIdprivate final Identitiesidentitiesprivate final Blackboardblackboardprivate final Verbosityverbosityprivate final Budgetbudgetprivate final Booleanpruneprivate final List<AgenticEventListener>listenersprivate final OutputChanneloutputChannel
-
Constructor Summary
Constructors Constructor Description ProcessOptions(ContextId contextId, Identities identities, Blackboard blackboard, Verbosity verbosity, Budget budget, ProcessControl processControl, Boolean prune, List<AgenticEventListener> listeners, OutputChannel outputChannel)
-
Method Summary
Modifier and Type Method Description final ProcessControlgetControl()final ContextIdgetContextId()final IdentitiesgetIdentities()final BlackboardgetBlackboard()final VerbositygetVerbosity()final BudgetgetBudget()final BooleangetPrune()final List<AgenticEventListener>getListeners()final OutputChannelgetOutputChannel()final static ProcessOptions.Builderbuilder()Obtain a new Builder to for ProcessOptions. -
-
Constructor Detail
-
ProcessOptions
ProcessOptions(ContextId contextId, Identities identities, Blackboard blackboard, Verbosity verbosity, Budget budget, ProcessControl processControl, Boolean prune, List<AgenticEventListener> listeners, OutputChannel outputChannel)
- Parameters:
contextId- context id to use for this process.identities- identities associated with this process.blackboard- an existing blackboard to use for this process.verbosity- detailed verbosity settings for logging etc.budget- budget constraints for this process.processControl- custom ProcessControl if specified.prune- whether to prune the agent to only relevant actionslisteners- additional listeners (beyond platform event listeners) to receive events from this process.
-
-
Method Detail
-
getControl
final ProcessControl getControl()
-
getContextId
final ContextId getContextId()
-
getIdentities
final Identities getIdentities()
-
getBlackboard
final Blackboard getBlackboard()
-
getVerbosity
final Verbosity getVerbosity()
-
getListeners
final List<AgenticEventListener> getListeners()
-
getOutputChannel
final OutputChannel getOutputChannel()
-
builder
final static ProcessOptions.Builder builder()
Obtain a new Builder to for ProcessOptions.
- Returns:
a builder through which you can set processing options
-
-
-
-