Class AbstractProcessBuilder<B extends AbstractProcessBuilder<B>>

    • Constructor Detail

      • AbstractProcessBuilder

        protected AbstractProcessBuilder​(BpmnModelInstance modelInstance,
                                         Process element,
                                         java.lang.Class<?> selfType)
    • Method Detail

      • processType

        public B processType​(ProcessType processType)
        Sets the process type for this.
        Parameters:
        processType - the process type to set
        Returns:
        the builder object
      • closed

        public B closed()
        Sets this closed.
        Returns:
        the builder object
      • executable

        public B executable()
        Sets this executable.
        Returns:
        the builder object
      • camundaJobPriority

        public B camundaJobPriority​(java.lang.String jobPriority)
      • camundaTaskPriority

        public B camundaTaskPriority​(java.lang.String taskPriority)
        Set the camunda task priority attribute. The priority is only used for service tasks which have as type value external
        Parameters:
        taskPriority - the task priority which should used for the external tasks
        Returns:
        the builder object
      • camundaHistoryTimeToLive

        public B camundaHistoryTimeToLive​(java.lang.Integer historyTimeToLive)
        Sets the camunda history time to live.
        Parameters:
        historyTimeToLive - value for history time to live, must be either null or non-negative integer.
        Returns:
        the builder object
      • camundaStartableInTasklist

        public B camundaStartableInTasklist​(java.lang.Boolean isStartableInTasklist)
        Set whenever the process is startable in Tasklist
        Parameters:
        isStartableInTasklist - default value is true
        Returns:
        the builder object
      • camundaVersionTag

        public B camundaVersionTag​(java.lang.String versionTag)
        Set to specify a version tag for the process definition.
        Parameters:
        versionTag - the version of the process definition
        Returns:
        the builder object