Package com.embabel.agent.core.hitl
Class FormResponse
-
- All Implemented Interfaces:
-
com.embabel.agent.core.hitl.AwaitableResponse,com.embabel.common.core.Identified,com.embabel.common.core.StableIdentified,com.embabel.common.core.types.Timestamped
public final class FormResponse implements AwaitableResponse
Response from the UX
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final StringawaitableIdprivate final FormSubmissionformSubmissionprivate final Instanttimestamp
-
Constructor Summary
Constructors Constructor Description FormResponse(String id, String awaitableId, FormSubmission formSubmission, Boolean persistent, Instant timestamp)
-
Method Summary
Modifier and Type Method Description StringgetId()StringgetAwaitableId()ID of the Awaitable that this relates to final FormSubmissiongetFormSubmission()InstantgetTimestamp()Booleanpersistent()-
-
Constructor Detail
-
FormResponse
FormResponse(String id, String awaitableId, FormSubmission formSubmission, Boolean persistent, Instant timestamp)
-
-
Method Detail
-
getAwaitableId
String getAwaitableId()
ID of the Awaitable that this relates to
-
getFormSubmission
final FormSubmission getFormSubmission()
-
getTimestamp
Instant getTimestamp()
-
persistent
Boolean persistent()
-
-
-
-