EarlyTermination

class EarlyTermination(val agentProcess: AgentProcess, val reason: String, val policy: EarlyTerminationPolicy) : AbstractAgentProcessEvent

Event triggered when an agent process is terminated early by a policy.

Parameters

agentProcess

The agent process that is being terminated

reason

A human-readable explanation of why the process is being terminated

policy

The policy that triggered the termination

Constructors

Link copied to clipboard
constructor(agentProcess: AgentProcess, reason: String, policy: EarlyTerminationPolicy)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val processId: String

ID of the process that this event relates to.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val timestamp: Instant

Functions

Link copied to clipboard
open override fun toString(): String