Package org.camunda.bpm.client.topic
Interface TopicSubscription
- 
- All Known Subinterfaces:
- SpringTopicSubscription
 - All Known Implementing Classes:
- PropertiesAwareSpringTopicSubscription,- SpringTopicSubscriptionImpl,- TopicSubscriptionImpl
 
 public interface TopicSubscriptionSubscription to a topic - Author:
- Tassilo Weidner
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()The client has been unsubscribed from the topic.java.lang.StringgetBusinessKey()ExternalTaskHandlergetExternalTaskHandler()java.lang.LonggetLockDuration()java.lang.StringgetProcessDefinitionId()java.util.List<java.lang.String>getProcessDefinitionIdIn()java.lang.StringgetProcessDefinitionKey()java.util.List<java.lang.String>getProcessDefinitionKeyIn()java.lang.StringgetProcessDefinitionVersionTag()java.util.Map<java.lang.String,java.lang.Object>getProcessVariables()java.util.List<java.lang.String>getTenantIdIn()java.lang.StringgetTopicName()java.util.List<java.lang.String>getVariableNames()booleanisIncludeExtensionProperties()booleanisLocalVariables()booleanisWithoutTenantId()
 
- 
- 
- 
Method Detail- 
closevoid close() The client has been unsubscribed from the topic. NB! It can happen, that the changes are not applied immediately, in case the client is currently iterating over the bunch of fetched and locked external tasks. The changes will have affect starting from the next bunch only.
 - 
getTopicNamejava.lang.String getTopicName() - Returns:
- the topic name of the subscription
 
 - 
getLockDurationjava.lang.Long getLockDuration() - Returns:
- the duration of the lock applied to the topic
-  if null, the client or the default lock duration is applied
 
 
 - 
getExternalTaskHandlerExternalTaskHandler getExternalTaskHandler() - Returns:
- the external task handler of the topic
 
 - 
getVariableNamesjava.util.List<java.lang.String> getVariableNames() - Returns:
- a list of variable names which are supposed to be retrieved
 
 - 
isLocalVariablesboolean isLocalVariables() - Returns:
- whether or not variables from greater scopes than the external task
         are fetched. falsemeans all variables visible in the scope of the external task will be fetched,truemeans only local variables (to the scope of the external task) will be fetched.
 
 - 
getBusinessKeyjava.lang.String getBusinessKey() - Returns:
- the business key associated with the external tasks which are supposed to be fetched and locked
 
 - 
getProcessDefinitionIdjava.lang.String getProcessDefinitionId() - Returns:
- the process definition id associated with the external tasks which are supposed to be fetched and locked
 
 - 
getProcessDefinitionIdInjava.util.List<java.lang.String> getProcessDefinitionIdIn() - Returns:
- the process definition ids associated with the external tasks which are supposed to be fetched and locked
 
 - 
getProcessDefinitionKeyjava.lang.String getProcessDefinitionKey() - Returns:
- the process definition key associated with the external tasks which are supposed to be fetched and locked
 
 - 
getProcessDefinitionKeyInjava.util.List<java.lang.String> getProcessDefinitionKeyIn() - Returns:
- the process definition keys associated with the external tasks which are supposed to be fetched and locked
 
 - 
getProcessDefinitionVersionTagjava.lang.String getProcessDefinitionVersionTag() - Returns:
- the process definition version tag associated with the external task which are supposed to be fetched and locked
 
 - 
getProcessVariablesjava.util.Map<java.lang.String,java.lang.Object> getProcessVariables() - Returns:
- the process variables associated with the external task which are supposed to be fetched and locked
 
 - 
isWithoutTenantIdboolean isWithoutTenantId() - Returns:
- the tenant id presence for the external tasks which are supposed to be fetched and locked
 
 - 
getTenantIdInjava.util.List<java.lang.String> getTenantIdIn() - Returns:
- the tenant ids associated with the external tasks which are supposed to be fetched and locked
 
 - 
isIncludeExtensionPropertiesboolean isIncludeExtensionProperties() - Returns:
- whether or not custom extension properties defined in the external
         task activity are included. The default is false, which means that no extension properties will be available within the external-task-client.truemeans that all defined extension properties are fetched and provided.
 
 
- 
 
-