Class ClientConfiguration
- java.lang.Object
-
- org.camunda.bpm.client.spring.impl.client.ClientConfiguration
-
- Direct Known Subclasses:
ClientProperties
public class ClientConfiguration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Long
asyncResponseTimeout
protected java.lang.String
baseUrl
protected java.lang.String
dateFormat
protected java.lang.String
defaultSerializationFormat
protected java.lang.Boolean
disableAutoFetching
protected java.lang.Boolean
disableBackoffStrategy
protected java.lang.Long
lockDuration
protected java.lang.Integer
maxTasks
protected java.lang.Boolean
usePriority
protected java.lang.String
workerId
-
Constructor Summary
Constructors Constructor Description ClientConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fromAnnotation(EnableExternalTaskClient annotation)
java.lang.Long
getAsyncResponseTimeout()
java.lang.String
getBaseUrl()
java.lang.String
getDateFormat()
java.lang.String
getDefaultSerializationFormat()
java.lang.Boolean
getDisableAutoFetching()
java.lang.Boolean
getDisableBackoffStrategy()
java.lang.Long
getLockDuration()
java.lang.Integer
getMaxTasks()
java.lang.Boolean
getUsePriority()
java.lang.String
getWorkerId()
protected static boolean
isNull(int value)
protected static boolean
isNull(long value)
protected static boolean
isNull(java.lang.String value)
void
setAsyncResponseTimeout(java.lang.Long asyncResponseTimeout)
void
setBaseUrl(java.lang.String baseUrl)
void
setDateFormat(java.lang.String dateFormat)
void
setDefaultSerializationFormat(java.lang.String defaultSerializationFormat)
void
setDisableAutoFetching(java.lang.Boolean disableAutoFetching)
void
setDisableBackoffStrategy(java.lang.Boolean disableBackoffStrategy)
void
setLockDuration(java.lang.Long lockDuration)
void
setMaxTasks(java.lang.Integer maxTasks)
void
setUsePriority(java.lang.Boolean usePriority)
void
setWorkerId(java.lang.String workerId)
-
-
-
Field Detail
-
baseUrl
protected java.lang.String baseUrl
-
workerId
protected java.lang.String workerId
-
maxTasks
protected java.lang.Integer maxTasks
-
usePriority
protected java.lang.Boolean usePriority
-
defaultSerializationFormat
protected java.lang.String defaultSerializationFormat
-
dateFormat
protected java.lang.String dateFormat
-
asyncResponseTimeout
protected java.lang.Long asyncResponseTimeout
-
lockDuration
protected java.lang.Long lockDuration
-
disableAutoFetching
protected java.lang.Boolean disableAutoFetching
-
disableBackoffStrategy
protected java.lang.Boolean disableBackoffStrategy
-
-
Method Detail
-
getBaseUrl
public java.lang.String getBaseUrl()
-
setBaseUrl
public void setBaseUrl(java.lang.String baseUrl)
-
getMaxTasks
public java.lang.Integer getMaxTasks()
-
setMaxTasks
public void setMaxTasks(java.lang.Integer maxTasks)
-
getWorkerId
public java.lang.String getWorkerId()
-
setWorkerId
public void setWorkerId(java.lang.String workerId)
-
getAsyncResponseTimeout
public java.lang.Long getAsyncResponseTimeout()
-
setAsyncResponseTimeout
public void setAsyncResponseTimeout(java.lang.Long asyncResponseTimeout)
-
getLockDuration
public java.lang.Long getLockDuration()
-
setLockDuration
public void setLockDuration(java.lang.Long lockDuration)
-
getDateFormat
public java.lang.String getDateFormat()
-
setDateFormat
public void setDateFormat(java.lang.String dateFormat)
-
getDefaultSerializationFormat
public java.lang.String getDefaultSerializationFormat()
-
setDefaultSerializationFormat
public void setDefaultSerializationFormat(java.lang.String defaultSerializationFormat)
-
getUsePriority
public java.lang.Boolean getUsePriority()
-
setUsePriority
public void setUsePriority(java.lang.Boolean usePriority)
-
getDisableAutoFetching
public java.lang.Boolean getDisableAutoFetching()
-
setDisableAutoFetching
public void setDisableAutoFetching(java.lang.Boolean disableAutoFetching)
-
getDisableBackoffStrategy
public java.lang.Boolean getDisableBackoffStrategy()
-
setDisableBackoffStrategy
public void setDisableBackoffStrategy(java.lang.Boolean disableBackoffStrategy)
-
fromAnnotation
public void fromAnnotation(EnableExternalTaskClient annotation)
-
isNull
protected static boolean isNull(java.lang.String value)
-
isNull
protected static boolean isNull(long value)
-
isNull
protected static boolean isNull(int value)
-
-