Package ai.astraform.remote.domain.sdk
Class RemoteDomainEnvelopeBuilder
java.lang.Object
ai.astraform.remote.domain.sdk.RemoteDomainEnvelopeBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncontrolActionResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, Map<String, Object> controlAction, List<Map<String, Object>> evidenceEvents) domainSystemWorkWindowResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, RemoteDomainSystemWorkWindowResult domainSystemWork, List<Map<String, Object>> evidenceEvents) static RemoteDomainProjectionstatic RemoteDomainErrorEnvelopeerrorEnvelope(RemoteDomainProtocolException exception) executeWorkResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState) executeWorkResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, Map<String, Object> toolResult) executeWorkResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, Map<String, Object> toolResult, List<Map<String, Object>> evidenceEvents) inspectionResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection) inspectionResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, List<Map<String, Object>> evidenceEvents) static RemoteDomainOpaqueStateopaqueState(String schemaVersion, Map<String, Object> data) static RemoteDomainPrepareResponseprepareResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState) static RemoteDomainPrepareResponseprepareResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, List<Map<String, Object>> evidenceEvents) static RemoteDomainProjectionprojection(Map<String, Object> runtimeMetadata, List<RemoteDomainScheduleItem> lifecycleSchedule, List<RemoteDomainScheduleItem> inspectionSchedule, Map<String, Object> statusView, Map<String, Object> inspectionView) static RemoteDomainResultresult(String runtimeIdentity, RemoteDomainProjection projection) static RemoteDomainResultstatic RemoteDomainResultresult(String runtimeIdentity, RemoteDomainProjection projection, Map<String, Object> toolResult, List<Map<String, Object>> evidenceEvents) static RemoteDomainShutdownResponseshutdownResponse(UUID requestId, boolean acknowledged) static RemoteDomainStatusResponsestatusResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection) static RemoteDomainStatusResponsestatusResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, List<Map<String, Object>> evidenceEvents)
-
Method Details
-
opaqueState
-
projection
public static RemoteDomainProjection projection(Map<String, Object> runtimeMetadata, List<RemoteDomainScheduleItem> lifecycleSchedule, List<RemoteDomainScheduleItem> inspectionSchedule, Map<String, Object> statusView, Map<String, Object> inspectionView) -
emptyProjection
-
result
-
result
public static RemoteDomainResult result(String runtimeIdentity, RemoteDomainProjection projection, Map<String, Object> toolResult) -
result
public static RemoteDomainResult result(String runtimeIdentity, RemoteDomainProjection projection, Map<String, Object> toolResult, List<Map<String, Object>> evidenceEvents) -
prepareResponse
public static RemoteDomainPrepareResponse prepareResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState) -
prepareResponse
public static RemoteDomainPrepareResponse prepareResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, List<Map<String, Object>> evidenceEvents) -
executeWorkResponse
public static RemoteDomainExecuteWorkResponse executeWorkResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState) -
executeWorkResponse
public static RemoteDomainExecuteWorkResponse executeWorkResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, Map<String, Object> toolResult) -
executeWorkResponse
public static RemoteDomainExecuteWorkResponse executeWorkResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, Map<String, Object> toolResult, List<Map<String, Object>> evidenceEvents) -
domainSystemWorkWindowResponse
public static RemoteDomainSystemWorkWindowResponse domainSystemWorkWindowResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, RemoteDomainSystemWorkWindowResult domainSystemWork, List<Map<String, Object>> evidenceEvents) -
controlActionResponse
public static RemoteDomainControlActionResponse controlActionResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState, Map<String, Object> controlAction, List<Map<String, Object>> evidenceEvents) -
statusResponse
public static RemoteDomainStatusResponse statusResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection) -
statusResponse
public static RemoteDomainStatusResponse statusResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, List<Map<String, Object>> evidenceEvents) -
inspectionResponse
public static RemoteDomainInspectionResponse inspectionResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection) -
inspectionResponse
public static RemoteDomainInspectionResponse inspectionResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, List<Map<String, Object>> evidenceEvents) -
shutdownResponse
-
errorEnvelope
-