Package ai.astraform.remote.domain.sdk
Class RemoteDomainEnvelopeBuilder
java.lang.Object
ai.astraform.remote.domain.sdk.RemoteDomainEnvelopeBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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) inspectionResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection) static RemoteDomainOpaqueStateopaqueState(String schemaVersion, Map<String, Object> data) static RemoteDomainPrepareResponseprepareResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState) 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 RemoteDomainShutdownResponseshutdownResponse(UUID requestId, boolean acknowledged) static RemoteDomainStatusResponsestatusResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection)
-
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) -
prepareResponse
public static RemoteDomainPrepareResponse prepareResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection, RemoteDomainOpaqueState nextState) -
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) -
statusResponse
public static RemoteDomainStatusResponse statusResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection) -
inspectionResponse
public static RemoteDomainInspectionResponse inspectionResponse(UUID requestId, String runtimeIdentity, RemoteDomainProjection projection) -
shutdownResponse
-
errorEnvelope
-