Package dev.restate.sdk.core.manifest
Class Handler
java.lang.Object
dev.restate.sdk.core.manifest.Handler
Handler
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getInput()
InputPayloadgetName()
(Required)OutputPayloadgetTy()
HandlerTypeint
hashCode()
void
InputPayloadvoid
(Required)void
OutputPayloadvoid
setTy
(Handler.Ty ty) HandlerTypetoString()
withOutput
(Output output) withTy
(Handler.Ty ty)
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
getName
(Required) -
setName
(Required) -
withName
-
getTy
HandlerTypeIf unspecified, defaults to EXCLUSIVE for Virtual Object or WORKFLOW for Workflows. This should be unset for Services.
-
setTy
HandlerTypeIf unspecified, defaults to EXCLUSIVE for Virtual Object or WORKFLOW for Workflows. This should be unset for Services.
-
withTy
-
getInput
InputPayloadDescription of an input payload. This will be used by Restate to validate incoming requests.
-
setInput
InputPayloadDescription of an input payload. This will be used by Restate to validate incoming requests.
-
withInput
-
getOutput
OutputPayloadDescription of an output payload.
-
setOutput
OutputPayloadDescription of an output payload.
-
withOutput
-
toString
-
hashCode
public int hashCode() -
equals
-