Class TopicSubscriptionImpl

    • Field Detail

      • topicName

        protected String topicName
      • lockDuration

        protected Long lockDuration
      • variableNames

        protected List<String> variableNames
      • localVariables

        protected boolean localVariables
      • businessKey

        protected String businessKey
      • processDefinitionId

        protected String processDefinitionId
      • processDefinitionIdIn

        protected List<String> processDefinitionIdIn
      • processDefinitionKey

        protected String processDefinitionKey
      • processDefinitionKeyIn

        protected List<String> processDefinitionKeyIn
      • processDefinitionVersionTag

        protected String processDefinitionVersionTag
      • withoutTenantId

        protected boolean withoutTenantId
      • includeExtensionProperties

        protected boolean includeExtensionProperties
    • Method Detail

      • getLockDuration

        public Long getLockDuration()
        Specified by:
        getLockDuration in interface TopicSubscription
        Returns:
        • the duration of the lock applied to the topic
        • if null, the client or the default lock duration is applied
      • close

        public void close()
        Description copied from interface: TopicSubscription
        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.
        Specified by:
        close in interface TopicSubscription
      • isLocalVariables

        public boolean isLocalVariables()
        Specified by:
        isLocalVariables in interface TopicSubscription
        Returns:
        whether or not variables from greater scopes than the external task are fetched. false means all variables visible in the scope of the external task will be fetched, true means only local variables (to the scope of the external task) will be fetched.
      • setLocalVariables

        public void setLocalVariables​(boolean localVariables)
      • getBusinessKey

        public String getBusinessKey()
        Specified by:
        getBusinessKey in interface TopicSubscription
        Returns:
        the business key associated with the external tasks which are supposed to be fetched and locked
      • getProcessDefinitionId

        public String getProcessDefinitionId()
        Specified by:
        getProcessDefinitionId in interface TopicSubscription
        Returns:
        the process definition id associated with the external tasks which are supposed to be fetched and locked
      • getProcessDefinitionIdIn

        public List<String> getProcessDefinitionIdIn()
        Specified by:
        getProcessDefinitionIdIn in interface TopicSubscription
        Returns:
        the process definition ids associated with the external tasks which are supposed to be fetched and locked
      • getProcessDefinitionKey

        public String getProcessDefinitionKey()
        Specified by:
        getProcessDefinitionKey in interface TopicSubscription
        Returns:
        the process definition key associated with the external tasks which are supposed to be fetched and locked
      • getProcessDefinitionKeyIn

        public List<String> getProcessDefinitionKeyIn()
        Specified by:
        getProcessDefinitionKeyIn in interface TopicSubscription
        Returns:
        the process definition keys associated with the external tasks which are supposed to be fetched and locked
      • getProcessDefinitionVersionTag

        public String getProcessDefinitionVersionTag()
        Specified by:
        getProcessDefinitionVersionTag in interface TopicSubscription
        Returns:
        the process definition version tag associated with the external task which are supposed to be fetched and locked
      • setProcessDefinitionVersionTag

        public void setProcessDefinitionVersionTag​(String processDefinitionVersionTag)
      • setProcessVariables

        public void setProcessVariables​(Map<String,​Object> processVariables)
      • isWithoutTenantId

        public boolean isWithoutTenantId()
        Specified by:
        isWithoutTenantId in interface TopicSubscription
        Returns:
        the tenant id presence for the external tasks which are supposed to be fetched and locked
      • setWithoutTenantId

        public void setWithoutTenantId​(boolean withoutTenantId)
      • getTenantIdIn

        public List<String> getTenantIdIn()
        Specified by:
        getTenantIdIn in interface TopicSubscription
        Returns:
        the tenant ids associated with the external tasks which are supposed to be fetched and locked
      • isIncludeExtensionProperties

        public boolean isIncludeExtensionProperties()
        Specified by:
        isIncludeExtensionProperties in interface TopicSubscription
        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. true means that all defined extension properties are fetched and provided.
      • setIncludeExtensionProperties

        public void setIncludeExtensionProperties​(boolean includeExtensionProperties)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object