Interface Scoped

All Known Subinterfaces:
CaseScoped, ChannelScoped, CustomerScoped, OrderScoped, TenantScoped
All Known Implementing Classes:
CaseAgent, CustomerOrder, DisputeDoer, EmailShiftDoer, FileNote

public interface Scoped
Something that produces its scope value - the parent of every domain marker (TicketScoped, ProjectScoped, ClaimScoped, ...). Implementing a marker IS the entire scope declaration: an orchestrator implementing one becomes a scope authority whose value is captured frozen at its dispatch; an input implementing one carries the claim every enforcement point judges against the flow's guard.

Deliberately not generic: a carrier implementing two axis markers inherits two conflicting defaults, and the compiler forces it to override scope() with a CompositeScope naming both values - multi-axis carriers state their axes explicitly, enforced by javac rather than convention.

Since:
0.1 (2026-08-18)
Author:
Andrey Santrosyan
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details