Class DisputeDoer
java.lang.Object
- All Implemented Interfaces:
CaseScoped, OrderScoped, GuardedExecution, ScopeAuthority, Scoped, Identifiable, Job<List<String>>, Doer<String, List<String>>, Orchestrator<String, List<String>>, Tool<String, List<String>>
The escalation: work on one disputed order. It declares only the order binding, the
narrowing of the case (
OrderScope extends CaseScope, which is what
relates the two axes); the case and channel bindings of whoever spawned it ride in
through the runtime and keep holding, so a note on the same customer's other order is
refused by the narrowing, a phone note by the inherited channel binding, and another
customer's order on the case axis itself.- Since:
- 0.1 (2026-09-28)
- Author:
- Andrey Santrosyan
-
Field Summary
Fields inherited from class AbstractOrchestrator
META_ITERATIONFields inherited from class AbstractTool
inputFields inherited from class AbstractJob
timeout, upstreamRetriesFields inherited from interface Job
DEFAULT_UPSTREAM_RETRIESFields inherited from interface Tool
OBS_INPUT, OBS_OUTPUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(JobContext<List<String>> context) Main execution - spawn jobs, wait on handles, return when done.Methods inherited from class AbstractDoer
nextStep, submitInCurrentStep, submitInCurrentStep, submitInCurrentStep, submitInStepMethods inherited from class AbstractOrchestrator
execute, getJobType, getRequirements, getScopeGuard, getTimeout, sealScopeGuard, setScopeGuard, setTimeout, submitInIteration, submitInIteration, submitInIterationMethods inherited from class AbstractTool
getInput, postExecute, preExecute, setInputMethods inherited from class AbstractJob
getId, getName, getParentJobId, getPriority, getUpstreamRetries, getUserId, getWorkflowId, randomIdSuffix, setUpstreamRetries, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GuardedExecution
declareAdmissionGuardrails, declareAuthGuardrails, declareContentGuardrailsMethods inherited from interface Identifiable
getParentJobId, getUserId, getWorkflowIdMethods inherited from interface Job
getDisplayName, getId, getJobId, getJobType, getName, getPriority, getRequirements, getTimeout, getUpstreamRetries, postExecute, preExecuteMethods inherited from interface OrderScoped
scopeMethods inherited from interface ScopeAuthority
getScopeGuard, sealScopeGuard, setScopeGuardMethods inherited from interface Tool
execute, getInput, guardedInputTarget, setInput
-
Constructor Details
-
DisputeDoer
-
-
Method Details
-
getCustomerId
- Specified by:
getCustomerIdin interfaceCaseScoped
-
getOrderNumber
- Specified by:
getOrderNumberin interfaceOrderScoped
-
execute
Description copied from class:AbstractOrchestratorMain execution - spawn jobs, wait on handles, return when done.Write natural Java code. Spawn children through the iteration-stamping helpers (
AbstractOrchestrator.submitInIteration(long, Job), or a doer's step helpers), callhandle.get()to wait. Branch, loop, whatever. Return when done.- Specified by:
executein classAbstractOrchestrator<String, List<String>>- Parameters:
context- the job context for progress reporting and cancellation- Returns:
- the result of the coordinator's work
- Throws:
LLMReadableCheckedException- if coordination fails
-