Package io.temporal.common.interceptors
Class WorkflowClientCallsInterceptor.QueryOutput<R>
- java.lang.Object
-
- io.temporal.common.interceptors.WorkflowClientCallsInterceptor.QueryOutput<R>
-
- Enclosing interface:
- WorkflowClientCallsInterceptor
public static final class WorkflowClientCallsInterceptor.QueryOutput<R> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description QueryOutput(io.temporal.api.enums.v1.WorkflowExecutionStatus queryRejectedStatus, R result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.temporal.api.enums.v1.WorkflowExecutionStatus
getQueryRejectedStatus()
R
getResult()
boolean
isQueryRejected()
-
-
-
Constructor Detail
-
QueryOutput
public QueryOutput(io.temporal.api.enums.v1.WorkflowExecutionStatus queryRejectedStatus, R result)
- Parameters:
queryRejectedStatus
- should be null if query is not rejectedresult
- converted result value
-
-
Method Detail
-
isQueryRejected
public boolean isQueryRejected()
-
getQueryRejectedStatus
public io.temporal.api.enums.v1.WorkflowExecutionStatus getQueryRejectedStatus()
-
getResult
public R getResult()
-
-