org.activiti.engine.impl.repository
类 DeploymentBuilderImpl

java.lang.Object
  继承者 org.activiti.engine.impl.repository.DeploymentBuilderImpl
所有已实现的接口:
Serializable, DeploymentBuilder

public class DeploymentBuilderImpl
extends Object
implements DeploymentBuilder, Serializable

作者:
Tom Baeyens, Joram Barrez
另请参见:
序列化表格

字段摘要
protected static String DEFAULT_ENCODING
           
protected  DeploymentEntity deployment
           
protected  boolean isDuplicateFilterEnabled
           
protected  Date processDefinitionsActivationDate
           
protected  RepositoryServiceImpl repositoryService
           
 
构造方法摘要
DeploymentBuilderImpl(RepositoryServiceImpl repositoryService)
           
 
方法摘要
 DeploymentBuilder activateProcessDefinitionsOn(Date date)
          Sets the date on which the process definitions contained in this deployment will be activated.
 DeploymentBuilder addBpmnModel(String resourceName, org.activiti.bpmn.model.BpmnModel bpmnModel)
           
 DeploymentBuilder addClasspathResource(String resource)
           
 DeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
           
 DeploymentBuilder addString(String resourceName, String text)
           
 DeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
           
 DeploymentBuilder category(String category)
          Gives the deployment the given category.
 Deployment deploy()
          Deploys all provided sources to the Activiti engine.
 DeploymentBuilder enableDuplicateFiltering()
          If set, this deployment will be compared to any previous deployment.
 DeploymentEntity getDeployment()
           
 Date getProcessDefinitionsActivationDate()
           
 boolean isDuplicateFilterEnabled()
           
 DeploymentBuilder name(String name)
          Gives the deployment the given name.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

DEFAULT_ENCODING

protected static final String DEFAULT_ENCODING
另请参见:
常量字段值

repositoryService

protected transient RepositoryServiceImpl repositoryService

deployment

protected DeploymentEntity deployment

isDuplicateFilterEnabled

protected boolean isDuplicateFilterEnabled

processDefinitionsActivationDate

protected Date processDefinitionsActivationDate
构造方法详细信息

DeploymentBuilderImpl

public DeploymentBuilderImpl(RepositoryServiceImpl repositoryService)
方法详细信息

addInputStream

public DeploymentBuilder addInputStream(String resourceName,
                                        InputStream inputStream)
指定者:
接口 DeploymentBuilder 中的 addInputStream

addClasspathResource

public DeploymentBuilder addClasspathResource(String resource)
指定者:
接口 DeploymentBuilder 中的 addClasspathResource

addString

public DeploymentBuilder addString(String resourceName,
                                   String text)
指定者:
接口 DeploymentBuilder 中的 addString

addZipInputStream

public DeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
指定者:
接口 DeploymentBuilder 中的 addZipInputStream

addBpmnModel

public DeploymentBuilder addBpmnModel(String resourceName,
                                      org.activiti.bpmn.model.BpmnModel bpmnModel)
指定者:
接口 DeploymentBuilder 中的 addBpmnModel

name

public DeploymentBuilder name(String name)
从接口 DeploymentBuilder 复制的描述
Gives the deployment the given name.

指定者:
接口 DeploymentBuilder 中的 name

category

public DeploymentBuilder category(String category)
从接口 DeploymentBuilder 复制的描述
Gives the deployment the given category.

指定者:
接口 DeploymentBuilder 中的 category

enableDuplicateFiltering

public DeploymentBuilder enableDuplicateFiltering()
从接口 DeploymentBuilder 复制的描述
If set, this deployment will be compared to any previous deployment. This means that every (non-generated) resource will be compared with the provided resources of this deployment.

指定者:
接口 DeploymentBuilder 中的 enableDuplicateFiltering

activateProcessDefinitionsOn

public DeploymentBuilder activateProcessDefinitionsOn(Date date)
从接口 DeploymentBuilder 复制的描述
Sets the date on which the process definitions contained in this deployment will be activated. This means that all process definitions will be deployed as usual, but they will be suspended from the start until the given activation date.

指定者:
接口 DeploymentBuilder 中的 activateProcessDefinitionsOn

deploy

public Deployment deploy()
从接口 DeploymentBuilder 复制的描述
Deploys all provided sources to the Activiti engine.

指定者:
接口 DeploymentBuilder 中的 deploy

getDeployment

public DeploymentEntity getDeployment()

isDuplicateFilterEnabled

public boolean isDuplicateFilterEnabled()

getProcessDefinitionsActivationDate

public Date getProcessDefinitionsActivationDate()


Copyright © 2013 Alfresco. All rights reserved.