ShellJobEntry class final

One registered background shell job.

Properties

command → String
The command line being executed.
no setter
cwd → String?
The working directory the job was started from (the dim detail's cwd tail, issue #429 AC2).
final
exitCode → int?
The process exit code, or null while running.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setter
isRunning → bool
Whether the process is still running.
no setter
job → ShellJob
The backend handle.
final
logPath → String
The log file receiving the job's stdout and stderr.
no setter
notifyOnSettle → bool
Whether the model-facing settle notice is still pending; hosts check this before steering the completion into the conversation.
no setter
pid → int?
The job's root process id, when the environment exposes one.
no setter
probeGeneration → int
The current probe generation (gh-1459 ask #4) — see _probeGeneration.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settled → Future<void>
Completes when the process exits.
no setter
settledAt → DateTime?
no setter
startedAt → DateTime
When the job registered (drives the terminal card's elapsed).
final
stopReason → String?
Why the job was stopped early ('timeout'/'cancelled'/'stopped'), or null when it exited on its own.
no setter
timeout → Duration?
The exec timeout the job was started with (gh-1444 AC5): the honest "timed out after Ns" text reports THIS cap when the job's own stopReason is 'timeout', instead of "unknown seconds" — the model's timeout argument is absent on exactly the runs where a shell default fired. Null when the job was started without a cap.
final

Methods

markProbed() → void
The model's read-only bash_job status/output call on THIS job (gh-1459 ask #4): bumps the probe generation so a drain liveness steer for a threshold the model already inspected itself is skipped.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop() → Future<void>
Terminates the process.
suppressSettleNotification() → void
The caller that awaited this job inline (foreground bash that finished before a steer-yield) reports the result itself — clear the model notice so the model is not told twice. The job board and waiting row still settle through ShellJobRegistry.onSettled (issue #562).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited