Class ZeebeWorkerValue
java.lang.Object
io.camunda.zeebe.spring.client.annotation.value.ZeebeWorkerValue
- All Implemented Interfaces:
ZeebeAnnotationValue<MethodInfo>
-
Constructor Summary
ConstructorsConstructorDescriptionZeebeWorkerValue(String type, String name, Duration timeout, Integer maxJobsActive, Duration requestTimeout, Duration pollInterval, Boolean autoComplete, List<String> fetchVariables, Boolean enabled, MethodInfo methodInfo, List<String> tenantIds, Boolean forceFetchAllVariables, Boolean streamEnabled, Duration streamTimeout) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()getType()inthashCode()voidsetAutoComplete(Boolean autoComplete) voidsetEnabled(Boolean enabled) voidsetFetchVariables(String[] fetchVariables) Deprecated.voidsetFetchVariables(List<String> fetchVariables) voidsetForceFetchAllVariables(Boolean forceFetchAllVariables) voidsetMaxJobsActive(Integer maxJobsActive) voidsetMethodInfo(MethodInfo methodInfo) voidvoidsetPollInterval(Duration pollInterval) voidsetRequestTimeout(Duration requestTimeout) voidsetStreamEnabled(Boolean streamEnabled) voidsetStreamTimeout(Duration streamTimeout) voidsetTenantIds(List<String> tenantIds) voidsetTimeout(Long timeout) Deprecated.voidsetTimeout(Duration timeout) voidtoString()
-
Constructor Details
-
ZeebeWorkerValue
public ZeebeWorkerValue() -
ZeebeWorkerValue
public ZeebeWorkerValue(String type, String name, Duration timeout, Integer maxJobsActive, Duration requestTimeout, Duration pollInterval, Boolean autoComplete, List<String> fetchVariables, Boolean enabled, MethodInfo methodInfo, List<String> tenantIds, Boolean forceFetchAllVariables, Boolean streamEnabled, Duration streamTimeout)
-
-
Method Details
-
getType
-
setType
-
getName
-
setName
-
getTimeout
-
setTimeout
-
getMaxJobsActive
-
setMaxJobsActive
-
getRequestTimeout
-
setRequestTimeout
-
getPollInterval
-
setPollInterval
-
getAutoComplete
-
setAutoComplete
-
getFetchVariables
-
setFetchVariables
-
getEnabled
-
setEnabled
-
getMethodInfo
-
setMethodInfo
-
getTenantIds
-
setTenantIds
-
getForceFetchAllVariables
-
setForceFetchAllVariables
-
getStreamEnabled
-
setStreamEnabled
-
getStreamTimeout
-
setStreamTimeout
-
getBeanInfo
- Specified by:
getBeanInfoin interfaceZeebeAnnotationValue<MethodInfo>- Returns:
- the context of this annotation.
-
toString
-
equals
-
hashCode
public int hashCode() -
setFetchVariables
Deprecated. -
setTimeout
Deprecated.set timeout in millis
-