spring: activiti: deployment-mode: never-fail # 关闭 SpringAutoDeployment
以上配置可以关闭自动部署名为SpringAutoDeployment的部署记录
另外还有几个值可以配置:
default:
源码是注释:Default implementation of {@link AutoDeploymentStrategy} that groups all {@link Resource}s into a single deployment.
This implementation is equivalent to the previously used implementation.
尝试翻译:意思是默认的AutoDeploymentStrategy实现,会把所有的资源 分组到一个单独的部署,这个实现和以前使用的实现是一样的
fail-on-no-process:FailOnNoProcessAutoDeploymentStrategy
never-fail:NeverFailAutoDeploymentStrategy
single-resource:
源码是注释:Implementation of {@link AutoDeploymentStrategy} that performs a separate deployment for each resource by name.
尝试翻译: 就是会为每一个资源根据名字单独进行部署
resource-parent-folder:
源码是注释:Implementation of {@link AutoDeploymentStrategy} that performs a separate deployment for each set of {@link Resource}s that share the same parent folder. The namehint is used to prefix the names of
deployments. If the parent folder for a {@link Resource} cannot be determined, the resource's name is used.
尝试翻译:就是会为同一个父目录下的所有资源进行单独的部署,目录的名字会被用作部署名称的前缀,如果不能确定资源父目录,就用资源的名称替代